Skip to content

Commit afcaf5b

Browse files
committed
update asinit to use strictEqual since equal is deprecated
1 parent c4c77cf commit afcaf5b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NOTICE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ under the licensing terms detailed in LICENSE:
3838
* yjhmelody <yjh465402634@gmail.com>
3939
* bnbarak <bn.barak@gmail.com>
4040
* Colin Eberhardt <colin.eberhardt@gmail.com>
41+
* Ryan Pivovar <ryanpivovar@gmail.com>
4142

4243
Portions of this software are derived from third-party works licensed under
4344
the following terms:

bin/asinit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ function ensureTestsIndexJs() {
408408
fs.writeFileSync(testsIndexFile, [
409409
"const assert = require(\"assert\");",
410410
"const myModule = require(\"..\");",
411-
"assert.equal(myModule.add(1, 2), 3);",
411+
"assert.strictEqual(myModule.add(1, 2), 3);",
412412
"console.log(\"ok\");"
413413
].join("\n") + "\n");
414414
console.log(colors.green(" Created: ") + testsIndexFile);

0 commit comments

Comments
 (0)