Преглед изворни кода

journey test: fix not unignoring tests with ignore comments

Reference: https://stackoverflow.com/a/11651184/2911458
Stuart Kent пре 9 година
родитељ
комит
f5ddc70fed
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      bin/journey-test.sh

+ 1
- 1
bin/journey-test.sh Прегледај датотеку

@@ -236,7 +236,7 @@ solve_all_exercises() {
236 236
     "$EXECPATH"/gradlew compileTestJava
237 237
     # Ensure we run all the tests (as delivered, all but the first is @Ignore'd)
238 238
     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}"
240 240
     done
241 241
     "$EXECPATH"/gradlew test
242 242
     popd