Skip to content

Commit 3e0d53a

Browse files
johnmccabealexellis
authored andcommitted
Use decimal verb for int in fmt format
This commit corrects a test error message which had been using a string verb for an int value (breaks under 1.10). Signed-off-by: John McCabe <[email protected]>
1 parent ab49a4b commit 3e0d53a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func Test_PortOverride(t *testing.T) {
108108
}
109109

110110
if actual.TCPPort != 8081 {
111-
t.Errorf("Want %s. got: %s", 8081, actual.TCPPort)
111+
t.Errorf("Want %d. got: %d", 8081, actual.TCPPort)
112112
}
113113
}
114114

0 commit comments

Comments
 (0)