mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: improve to use template string
PR-URL: https://github.com/nodejs/node/pull/18097 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
1 parent
8f9362d6e8
commit
2004efded8
31 files changed
+50
-53
No files matched your search
@@ -72,7 +72,7 @@ function parent() {
|
||||
assert.strictEqual(
|
||||
code, exit,
|
||||
`wrong exit for ${arg}\nexpected:${exit} but got:${code}`);
|
||||
console.log('ok - %s exited with %d', arg, exit);
|
||||
console.log(`ok - ${arg} exited with ${exit}`);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user