<
aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/glob.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-03-23 06:11:16 +0800
committerGitHub <noreply@github.com>2017-03-23 06:11:16 +0800
commita00040dd93083548aa065c5ae8942e3c2600cbbe (patch)
treef7988cd3ea28631d2dc3e44a31038d9029d73d73 /test/mocha/glob.js
parentee95c1b38bcf0fbb6c676e98540c1d33f669e936 (diff)
downloadtracifyjs-a00040dd93083548aa065c5ae8942e3c2600cbbe.tar.gz
tracifyjs-a00040dd93083548aa065c5ae8942e3c2600cbbe.zip
fix a bug in simple_glob (#1632)
- "?" should not match "/" - other minor clean-ups
Diffstat (limited to 'test/mocha/glob.js')
-rw-r--r--test/mocha/glob.js34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/mocha/glob.js b/test/mocha/glob.js
index 30313656..557489c1 100644
--- a/test/mocha/glob.js
+++ b/test/mocha/glob.js
@@ -1,5
2017-06-10suppress false positives for-in loops (#2080)...Alex Lam S.L
2017-06-10fix portability of `sandbox.run_code()` on Node.js 0.1x (#2078)Alex Lam S.L
2017-06-04fix `AST_Function` scope invariance (#2052)...Alex Lam S.L
2017-05-18make `expect_stdout` node version specific (#1963)...Alex Lam S.L
2017-05-14fix bugs with getter/setter (#1926)...Alex Lam S.L
2017-04-23improve parser under "use strict" (#1836)...Alex Lam S.L
2017-04-07extend ufuzz generator (#1783)...Alex Lam S.L
2017-04-03workaround Node.js bugs (#1775)...Alex Lam S.L
2017-04-03extend `test/ufuzz.js` (#1769)...Alex Lam S.L
+ path.join(dir, "*.js"),
+ ]);
+ assert.strictEqual(matches.length, 4);
+ assert.strictEqual(matches[0], path.join(dir, "bar.es5"));
+ assert.strictEqual(matches[1], path.join(dir, "baz.es5"));
+ assert.strictEqual(matches[2], path.join(dir, "z*.es5"));
+ assert.strictEqual(matches[3], path.join(dir, "qux.js"));
+ });
});