aboutsummaryrefslogtreecommitdiff
path: root/test/mocha
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-02-23 21:57:11 +0000
committerGitHub <noreply@github.com>2021-02-24 05:57:11 +0800
commitc88566034756eb17c4ff563901b3a1c95b63f788 (patch)
tree24e376db8595b8152b2685708ee08b7f9e194758 /test/mocha
parentd68d155f93a355a9f6f0451150186b7fad8c58b8 (diff)
downloadtracifyjs-c88566034756eb17c4ff563901b3a1c95b63f788.tar.gz
tracifyjs-c88566034756eb17c4ff563901b3a1c95b63f788.zip
support nullish coalescing operator (#4678)
Diffstat (limited to 'test/mocha')
-rw-r--r--test/mocha/comments.js2
-rw-r--r--test/mocha/parentheses.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/mocha/comments.js b/test/mocha/comments.js
index 9a4b3be6..88cf08c4 100644
--- a/test/mocha/comments.js
+++ b/test/mocha/comments.js
@@ -259,7 +259,7 @@ describe("comments", function() {
assert.strictEqual(result.code, code);
});
- it("Should handle comments around parenthesis correctly", function() {
+ it("Should handle comments around parentheses correctly", function() {
var code = [
"a();",
"/* foo */",
diff --git a/test/mocha/parentheses.js b/test/mocha/parentheses.js
index 373db2da..0fbb4c95 100644
--- a/test/mocha/parentheses.js
+++ b/test/mocha/parentheses.js
@@ -84,7 +84,7 @@ describe("parentheses", function() {
}
});
- it("Should compress leading parenthesis with reasonable performance", function() {
+ it("Should compress leading parentheses with reasonable performance", function() {
this.timeout(30000);
var code = [
"({}?0:1)&&x();",