diff --git a/api/api_test.go b/api/api_test.go index 8654a75..c0b877e 100644 --- a/api/api_test.go +++ b/api/api_test.go @@ -97,8 +97,8 @@ func TestGetIPWithoutReverse(t *testing.T) { if err != nil { t.Fatal(err) } - if header := "X-Ifconfig-Hostname"; strings.Contains(out, header) { - t.Errorf("Expected response to not contain %q", header) + if key := "hostname"; strings.Contains(out, key) { + t.Errorf("Expected response to not key %q", key) } }