test: use default assertion message · nodejs/node@ca27880 · GitHub
Skip to content

Commit ca27880

Browse files
jonask-wixMylesBorins
authored andcommitted
test: use default assertion message
In test-child-process-spawnsync, the assert.strictEqual() custom message was hiding information about why the test has failed. It just showed what value is expected and in case of failure we want to know which value has caused test to fail. PR-URL: #16819 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent fab5598 commit ca27880

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-child-process-spawnsync.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)