Explorar el Código

journey test: fix not unignoring tests with ignore comments

Reference: https://stackoverflow.com/a/11651184/2911458
Stuart Kent hace 9 años
padre
commit
f5ddc70fed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      bin/journey-test.sh

+ 1
- 1
bin/journey-test.sh Ver fichero

@@ -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