mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
fix test
This commit is contained in:
parent
830248b6ae
commit
2de3ddff08
@ -34,7 +34,7 @@ func TestSniff(t *testing.T) {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
for _, testcase := range testcases {
|
for _, testcase := range testcases {
|
||||||
have, _ := sniff(testcase[0])
|
have, _, _ := sniff(testcase[0])
|
||||||
want := testcase[1]
|
want := testcase[1]
|
||||||
if want != have {
|
if want != have {
|
||||||
t.Log(testcase[0])
|
t.Log(testcase[0])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user