fix fmt str
This commit is contained in:
parent
fa1bcec1f4
commit
bb140f38f2
@ -96,7 +96,7 @@ func TestMDNS(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if node.Port != service.Nodes[0].Port {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ func TestWatcher(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if node.Port != service.Nodes[0].Port {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user