fix vet error in registry package

This commit is contained in:
James Bardin 2017-10-25 15:49:35 -04:00
parent 4f76d3a556
commit a881460839
1 changed files with 1 additions and 1 deletions

View File

@ -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?