fix fmt str

This commit is contained in:
wangkechun 2017-02-25 22:53:25 +08:00 committed by Vasiliy Tolstov
parent fa1bcec1f4
commit bb140f38f2
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ func TestMDNS(t *testing.T) {
}
if node.Port != service.Nodes[0].Port {
t.Fatalf("Expected node port %s got %s", service.Nodes[0].Port, node.Port)
t.Fatalf("Expected node port %d got %d", service.Nodes[0].Port, node.Port)
}
}

View File

@ -81,7 +81,7 @@ func TestWatcher(t *testing.T) {
}
if node.Port != service.Nodes[0].Port {
t.Fatalf("Expected node port %s got %s", service.Nodes[0].Port, node.Port)
t.Fatalf("Expected node port %d got %d", service.Nodes[0].Port, node.Port)
}
}