fix arg type error in printf

This commit is contained in:
huangjiuyuan 2017-07-27 16:00:38 +08:00
parent 04c863cb1d
commit 61b1d52099

View File

@ -387,7 +387,7 @@ func TestTransform(t *testing.T) {
t.Errorf("[%d] unexpected error during Transform: %v", i, err)
}
if result.Empty() != tc.isEmpty {
t.Errorf("[%d] expected empty: %t, got: %t", i, tc.isEmpty, result.Empty)
t.Errorf("[%d] expected empty: %t, got: %t", i, tc.isEmpty, result.Empty())
}
if result.String() != tc.result {
t.Errorf("[%d] unexpected result: %s", i, result.String())