This commit is contained in:
Martin Polden 2016-04-15 20:48:52 +02:00
parent 67e220501e
commit 6e09b06e7d
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}