Skip to content

Commit bfb1e86

Browse files
committed
fix test output message
1 parent c46d89b commit bfb1e86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/checkArrayExpectation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = function checkArrayExpectation(
2727
new Error(
2828
`More ${kind}s while compiling than expected:\n\n${array.join(
2929
"\n\n"
30-
)}. Check expected warnings: ${filename}`
30+
)}. Check expected ${kind}s: ${expectedFilename}`
3131
)
3232
),
3333
true
@@ -38,7 +38,7 @@ module.exports = function checkArrayExpectation(
3838
new Error(
3939
`Less ${kind}s while compiling than expected:\n\n${array.join(
4040
"\n\n"
41-
)}. Check expected warnings: ${filename}`
41+
)}. Check expected ${kind}s: ${expectedFilename}`
4242
)
4343
),
4444
true

0 commit comments

Comments
 (0)