Skip to content

Commit 82eb7b3

Browse files
authored
Update asinit to use assert.strictEqual (#1824)
1 parent 6ac8156 commit 82eb7b3

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Contributing
22
============
33

4-
The following is a set of guidelines for contributing to AssemblyScript and its packages, which are hosted in the [AsssemblyScript Organization](https://github.com/AssemblyScript) on GitHub. These are mostly guidelines, not rules. Use your best judgement, and feel free to proposse changes to this document in a pull request.
4+
The following is a set of guidelines for contributing to AssemblyScript and its packages, which are hosted in the [AsssemblyScript Organization](https://github.com/AssemblyScript) on GitHub. These are mostly guidelines, not rules. Use your best judgement, and feel free to propose changes to this document in a pull request.
55

66
Code of Conduct
77
---------------

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 <[email protected]>
3939
* bnbarak <[email protected]>
4040
* Colin Eberhardt <[email protected]>
41+
* Ryan Pivovar <[email protected]>
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)