☕️ Classic, reliable, trusted test framework for Node.js and the browser
Fix acceptance test (#799)
Travis Jefferydb8fa54a0296
diff --git a/test/acceptance/glob/glob.sh b/test/acceptance/glob/glob.shindex 381effae..a2b8c6fe 100755--- a/test/acceptance/glob/glob.sh+++ b/test/acceptance/glob/glob.sh@@ -17,12 +17,12 @@ cat /tmp/mocha-glob.txt | grep -q -F '["end",{"suites":1,"tests":1,"passes":1,"pexit 1}-../../../bin/mocha -R json-stream ./*-none.js > /tmp/mocha-glob.txt || {+../../../bin/mocha -R json-stream ./*-none.js 2> /tmp/mocha-glob.txt && {echo Globbing './*-none.js' in `pwd` failed.exit 1}-cat /tmp/mocha-glob.txt | grep -q -F '["end",{"suites":0,"tests":0,"passes":0,"pending":0,"failures":0,' || {+cat /tmp/mocha-glob.txt | grep -q -F 'cannot resolve path' || {echo Globbing './*-none.js' in `pwd` should match no files and run no tests.exit 1}@@ -42,12 +42,12 @@ cat /tmp/mocha-glob.txt | grep -q -F '["end",{"suites":1,"tests":1,"passes":1,"pexit 1}-../../../bin/mocha -R json-stream './*-none.js' > /tmp/mocha-glob.txt || {+../../../bin/mocha -R json-stream './*-none.js' 2> /tmp/mocha-glob.txt && {echo Globbing './*-none.js' in `pwd` failed.exit 1}-cat /tmp/mocha-glob.txt | grep -q -F '["end",{"suites":0,"tests":0,"passes":0,"pending":0,"failures":0,' || {+cat /tmp/mocha-glob.txt | grep -q -F 'cannot resolve path' || {echo Globbing './*-none.js' in `pwd` should match no files and run no tests.exit 1}