Commit 61b1d520 authored by huangjiuyuan's avatar huangjiuyuan

fix arg type error in printf

parent 04c863cb
...@@ -387,7 +387,7 @@ func TestTransform(t *testing.T) { ...@@ -387,7 +387,7 @@ func TestTransform(t *testing.T) {
t.Errorf("[%d] unexpected error during Transform: %v", i, err) t.Errorf("[%d] unexpected error during Transform: %v", i, err)
} }
if result.Empty() != tc.isEmpty { 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 { if result.String() != tc.result {
t.Errorf("[%d] unexpected result: %s", i, result.String()) t.Errorf("[%d] unexpected result: %s", i, result.String())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment