Skip to content

Commit debc817

Browse files
committed
Remove unnecessary shellcheck SC2312 warning suppress
1 parent 7a0fad4 commit debc817

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ASTImportTest.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ do
9999
evm-assembly) check_import_test_type_unset ; IMPORT_TEST_TYPE="evm-assembly" ;;
100100
--help) print_usage ; exit 0 ;;
101101
--exit-on-error) EXIT_ON_ERROR=1 ;;
102-
*) fail "Unknown option '${PARAM}'. Aborting. $(print_usage || true)" ;;
102+
*) fail "Unknown option '${PARAM}'. Aborting. $(print_usage)" ;;
103103
esac
104104
done
105105

@@ -318,7 +318,7 @@ command_available "${READLINK}" --version
318318
case "${IMPORT_TEST_TYPE}" in
319319
ast) TEST_DIRS=("${SYNTAXTESTS_DIR}" "${ASTJSONTESTS_DIR}") ;;
320320
evm-assembly) TEST_DIRS=("${SEMANTICTESTS_DIR}") ;;
321-
*) assertFail "Import test type not defined. $(print_usage || true)}" ;;
321+
*) assertFail "Import test type not defined. $(print_usage)" ;;
322322
esac
323323

324324
# boost_filesystem_bug specifically tests a local fix for a boost::filesystem

0 commit comments

Comments
 (0)