mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +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
|
// Case: link is obfuscated using space
|
||||||
{
|
{
|
||||||
Heuristic: true,
|
Heuristic: true,
|
||||||
Message: "Take a look at example. com",
|
Message: "Take a look on example. com",
|
||||||
ExpectedLinks: []string{
|
ExpectedLinks: []string{
|
||||||
"http://example.com",
|
"http://example.com",
|
||||||
"http://www.atexample.com/",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// Case: link is obfuscated using space and braces
|
// Case: link is obfuscated using space and braces
|
||||||
{
|
{
|
||||||
Heuristic: true,
|
Heuristic: true,
|
||||||
Message: "Take a look at example. (com)",
|
Message: "Take a look on example. (com)",
|
||||||
ExpectedLinks: []string{
|
ExpectedLinks: []string{
|
||||||
"http://example.com",
|
"http://example.com",
|
||||||
"http://www.atexample.com/",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// Case: multiple links in one message
|
// Case: multiple links in one message
|
||||||
|
|
Loading…
Reference in a new issue