Skip to content

Commit f5ddc70

Browse files
committed
journey test: fix not unignoring tests with ignore comments
Reference: https://stackoverflow.com/a/11651184/2911458
1 parent f28dae0 commit f5ddc70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/journey-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ solve_all_exercises() {
236236
"$EXECPATH"/gradlew compileTestJava
237237
# Ensure we run all the tests (as delivered, all but the first is @Ignore'd)
238238
for testfile in `find . -name "*Test.${TRACK_SRC_EXT}"`; do
239-
sed 's/@Ignore(\(.*\))\{0,1\}//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
239+
sed 's/@Ignore\(\(.*\)\)\{0,1\}//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
240240
done
241241
"$EXECPATH"/gradlew test
242242
popd

0 commit comments

Comments
 (0)