mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
[ci] Remove flaky test
The page found in the string was flaky and often unresponsive Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
1585df5e90
commit
b5ad112de3
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue