Skip to content

Commit

Permalink
Update asinit to use assert.strictEqual (#1824)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpivo committed Apr 26, 2021
1 parent 6ac8156 commit 82eb7b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Contributing
============

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.
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.

Code of Conduct
---------------
Expand Down
1 change: 1 addition & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ under the licensing terms detailed in LICENSE:
* yjhmelody <yjh465402634@gmail.com>
* bnbarak <bn.barak@gmail.com>
* Colin Eberhardt <colin.eberhardt@gmail.com>
* Ryan Pivovar <ryanpivovar@gmail.com>

Portions of this software are derived from third-party works licensed under
the following terms:
Expand Down
2 changes: 1 addition & 1 deletion bin/asinit
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ function ensureTestsIndexJs() {
fs.writeFileSync(testsIndexFile, [
"const assert = require(\"assert\");",
"const myModule = require(\"..\");",
"assert.equal(myModule.add(1, 2), 3);",
"assert.strictEqual(myModule.add(1, 2), 3);",
"console.log(\"ok\");"
].join("\n") + "\n");
console.log(colors.green(" Created: ") + testsIndexFile);
Expand Down

0 comments on commit 82eb7b3

Please sign in to comment.