diff --git a/txeh_test.go b/txeh_test.go index c4bd246..48723f2 100644 --- a/txeh_test.go +++ b/txeh_test.go @@ -75,4 +75,7 @@ func TestNewHosts(t *testing.T) { } } + if !found { + t.Fatal("ListHostsByIP was unable find an IP") + } }