We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4ca8e commit 4a37fecCopy full SHA for 4a37fec
test/cli.sh
@@ -5,3 +5,7 @@ node ${base}/../bin/cli.js ${base}/cli/markup.html | diff -q ${base}/cli/expecte
5
node ${base}/../bin/cli.js ${base}/cli/markup.html -o ${base}/cli/tmp.json
6
diff -q ${base}/cli/expected.json ${base}/cli/tmp.json
7
rm ${base}/cli/tmp.json
8
+set +e
9
+error=$(node ${base}/../bin/cli.js nope 2>&1)
10
+test $? -eq 1
11
+[ "$error" = "No such file: nope" ] || (echo "'No such file' logic is broken!"; exit 1)
0 commit comments