Skip to content

Commit 6dd451a

Browse files
committed
fix lint error
1 parent 3bacbc1 commit 6dd451a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func TestBuilderParser(t *testing.T) {
3636
parser.length = len(builder.Bytes())
3737
dg, err := parser.Parse()
3838
if err != nil {
39-
t.Errorf(err.Error())
39+
t.Errorf("%s", err.Error())
4040
}
4141
if dg.Cmd != tc.Dg.Cmd || dg.Id != tc.Dg.Id || len(dg.Data) != len(tc.Dg.Data) {
4242
t.Errorf("error mismatch got %s, expect %s", dg.String(), tc.Dg.String())

0 commit comments

Comments
 (0)