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 786630a commit ef3167dCopy full SHA for ef3167d
test.sh
@@ -1,5 +1,5 @@
1
#!/bin/bash
2
-set -e
+# set -e
3
4
EXPECTED='(x): number => 123\n'
5
ACTUAL=$(echo '( \n x ) : number => 123 ' | /usr/bin/env node index.js -assume-filename a.js)
@@ -48,6 +48,7 @@ if [[ "$GLOB" != *"$EXPECTED_FAIL_FILE"* ]]; then
48
fi
49
echo "[PASS] glob argument resolution" >&2
50
51
+echo "(The next output lines will be an expected error, as we test error codes)"
52
eval "/usr/bin/env node $FULL_SCRIPT_PATH --set-exit-if-changed -n --glob=testproject/**/*.java"
53
if [ "$?" != 1 ]; then
54
echo "[FAIL] Expected return status to be 1, got $?" >&2
0 commit comments