diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2022-06-26 15:22:07 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2022-06-26 15:22:07 -0400 |
| commit | 99bb061b43736aba9ae1aad320e1268c74950b59 (patch) | |
| tree | f37c635f24e1f3379707bdee84217dd756d2620f | |
| parent | f051df5ded5c399bec7e1934705cc3ebba539afe (diff) | |
Fixing flakey LookupIP test
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
| -rw-r--r-- | net/net_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/net_test.go b/net/net_test.go index 33223100..4e569a44 100644 --- a/net/net_test.go +++ b/net/net_test.go @@ -14,13 +14,11 @@ func must(r interface{}, err error) interface{} { } func TestLookupIP(t *testing.T) { assert.Equal(t, "127.0.0.1", must(LookupIP("localhost"))) - assert.Equal(t, "35.196.83.195", must(LookupIP("hairyhenderson.ca"))) assert.Equal(t, "93.184.216.34", must(LookupIP("example.com"))) } func TestLookupIPs(t *testing.T) { assert.Equal(t, []string{"127.0.0.1"}, must(LookupIPs("localhost"))) - assert.Equal(t, []string{"35.196.83.195"}, must(LookupIPs("hairyhenderson.ca"))) assert.Equal(t, []string{"93.184.216.34"}, must(LookupIPs("example.com"))) } |
