Skip to content

Commit cc7f77a

Browse files
authored
fix(ut): use filename for %s (#94)
Signed-off-by: lsytj0413 <511121939@qq.com> Signed-off-by: lsytj0413 <511121939@qq.com>
1 parent 2d45040 commit cc7f77a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parser/parser_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ func TestFromFile(t *testing.T) {
335335
t.Run(
336336
file.name, func(t *testing.T) {
337337
workflow, err := FromFile(file.name)
338-
if assert.NoError(t, err, "Test File %s", file) {
339-
assert.NotNil(t, workflow, "Test File %s", file)
338+
if assert.NoError(t, err, "Test File %s", file.name) {
339+
assert.NotNil(t, workflow, "Test File %s", file.name)
340340
file.f(t, workflow)
341341
}
342342
},

0 commit comments

Comments
 (0)