fix ip api test

This commit is contained in:
2022-01-07 21:46:57 +00:00
parent 711bed47f7
commit 9c58c2af2e

View File

@@ -35,7 +35,7 @@ func TestLookup(t *testing.T) {
}
for _, test := range tests {
got := Lookup(test.ip)
got := Lookup(test.ip, "")
if test.want != got.Country {
t.Errorf("CheckValidIP(%q) = %v, want %v", test.ip, got, test.want)
}