diff options
Diffstat (limited to 'deps/npm/test/tap/test-run-ls.js')
-rw-r--r-- | deps/npm/test/tap/test-run-ls.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/test/tap/test-run-ls.js b/deps/npm/test/tap/test-run-ls.js index ea495879f3..9475695cb6 100644 --- a/deps/npm/test/tap/test-run-ls.js +++ b/deps/npm/test/tap/test-run-ls.js @@ -3,7 +3,7 @@ var test = require('tap').test var path = require('path') var cwd = path.resolve(__dirname, '..', '..') var testscript = require('../../package.json').scripts.test -var tsregexp = testscript.replace(/([\[\.\*\]])/g, '\\$1') +var tsregexp = testscript.replace(/([[.*\]])/g, '\\$1') test('default', function (t) { common.npm(['run'], { cwd: cwd }, function (er, code, so) { |