diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-03-23 06:11:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 06:11:16 +0800 |
commit | a00040dd93083548aa065c5ae8942e3c2600cbbe (patch) | |
tree | f7988cd3ea28631d2dc3e44a31038d9029d73d73 /test/mocha/glob.js | |
parent | ee95c1b38bcf0fbb6c676e98540c1d33f669e936 (diff) | |
download | tracifyjs-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.js | 34 |
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-10 | suppress false positives for-in loops (#2080)... | Alex Lam S.L | 2017-06-10 | fix portability of `sandbox.run_code()` on Node.js 0.1x (#2078) | Alex Lam S.L | 2017-06-04 | fix `AST_Function` scope invariance (#2052)... | Alex Lam S.L | 2017-05-18 | make `expect_stdout` node version specific (#1963)... | Alex Lam S.L | 2017-05-14 | fix bugs with getter/setter (#1926)... | Alex Lam S.L | 2017-04-23 | improve parser under "use strict" (#1836)... | Alex Lam S.L | 2017-04-07 | extend ufuzz generator (#1783)... | Alex Lam S.L | 2017-04-03 | workaround Node.js bugs (#1775)... | Alex Lam S.L | 2017-04-03 | extend `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")); + }); }); |