diff --git a/mdns_test.go b/mdns_test.go index 0953734..bdf557f 100644 --- a/mdns_test.go +++ b/mdns_test.go @@ -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) } } diff --git a/watcher_test.go b/watcher_test.go index 8b1335b..f9ff62c 100644 --- a/watcher_test.go +++ b/watcher_test.go @@ -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) } }