From 6e09b06e7ddb953938158b731fc436e105e4ec13 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Fri, 15 Apr 2016 20:48:52 +0200 Subject: [PATCH] Fix test --- api/api_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } }