Fix format specifiers in Printf-type functions.

This commit is contained in:
Eric Tune
2014-10-09 17:06:32 -07:00
parent e1cb72f1ae
commit 800284164a
15 changed files with 24 additions and 24 deletions

View File

@@ -79,7 +79,7 @@ func TestGetInteger(t *testing.T) {
for _, test := range tests {
val := GetIntegerResource(test.res, test.name, test.def)
if val != test.expected {
t.Errorf("%s: expected: %d found %d", test.expected, val)
t.Errorf("expected: %d found %d", test.expected, val)
}
}
}
@@ -130,7 +130,7 @@ func TestGetFloat(t *testing.T) {
for _, test := range tests {
val := GetFloatResource(test.res, test.name, test.def)
if val != test.expected {
t.Errorf("%s: expected: %d found %d", test.expected, val)
t.Errorf("%expected: %d found %d", test.expected, val)
}
}
}
@@ -163,7 +163,7 @@ func TestGetString(t *testing.T) {
for _, test := range tests {
val := GetStringResource(test.res, test.name, test.def)
if val != test.expected {
t.Errorf("%s: expected: %d found %d", test.expected, val)
t.Errorf("expected: %d found %d", test.expected, val)
}
}
}