diff --git a/registry/regsrc/friendly_host_test.go b/registry/regsrc/friendly_host_test.go index 5ccac5b0d..740395bf6 100644 --- a/registry/regsrc/friendly_host_test.go +++ b/registry/regsrc/friendly_host_test.go @@ -116,7 +116,7 @@ func TestFriendlyHost(t *testing.T) { // Also verify that host compares equal with all the variants. if !gotHost.Equal(&FriendlyHost{Raw: tt.wantDisplay}) { - t.Fatalf("Equal() should be true for %s and %s", tt.wantHost, tt.wantValid) + t.Fatalf("Equal() should be true for %s and %t", tt.wantHost, tt.wantValid) } // FIXME: Do we need to accept normalized input?