From b5ad112de3202d9e9481bc9552df6f29d8bcc24a Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 25 Aug 2023 23:44:08 +0200 Subject: [PATCH] [ci] Remove flaky test The page found in the string was flaky and often unresponsive Signed-off-by: Knut Ahlers --- internal/linkcheck/linkcheck_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/internal/linkcheck/linkcheck_test.go b/internal/linkcheck/linkcheck_test.go index 02226a0..00080b5 100644 --- a/internal/linkcheck/linkcheck_test.go +++ b/internal/linkcheck/linkcheck_test.go @@ -102,19 +102,17 @@ func TestScanForLinks(t *testing.T) { // Case: link is obfuscated using space { Heuristic: true, - Message: "Take a look at example. com", + Message: "Take a look on example. com", ExpectedLinks: []string{ "http://example.com", - "http://www.atexample.com/", }, }, // Case: link is obfuscated using space and braces { Heuristic: true, - Message: "Take a look at example. (com)", + Message: "Take a look on example. (com)", ExpectedLinks: []string{ "http://example.com", - "http://www.atexample.com/", }, }, // Case: multiple links in one message