diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2019-10-03 19:14:29 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2019-10-03 22:52:26 -0400 |
| commit | 99e5693f9f05c0f58d999a4e5de1c1596c7f9adb (patch) | |
| tree | 62df564fa64f0ba23686d408de6e4d3d719c263f /net | |
| parent | 666f759c626b3b8077ab869e858bd964c9daeef4 (diff) | |
Building on Windows with GitHub Action
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'net')
| -rw-r--r-- | net/net_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/net_test.go b/net/net_test.go index 86399317..33223100 100644 --- a/net/net_test.go +++ b/net/net_test.go @@ -14,13 +14,13 @@ 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, "169.254.255.254", must(LookupIP("hostlocal.io"))) + 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{"169.254.255.254"}, must(LookupIPs("hostlocal.io"))) + assert.Equal(t, []string{"35.196.83.195"}, must(LookupIPs("hairyhenderson.ca"))) assert.Equal(t, []string{"93.184.216.34"}, must(LookupIPs("example.com"))) } |
