Kaynağa Gözat

Change journey test to allow Ignore annotations to have hints

Frida Johanne Tveit 9 yıl önce
ebeveyn
işleme
c174f86ac7
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      bin/journey-test.sh

+ 1
- 1
bin/journey-test.sh Dosyayı Görüntüle

@@ -230,7 +230,7 @@ solve_all_exercises() {
230 230
     gradle compileTestJava
231 231
     # Ensure we run all the tests (as delivered, all but the first is @Ignore'd)
232 232
     for testfile in `find . -name "*Test.java"`; do
233
-      sed 's/@Ignore//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
233
+      sed 's/@Ignore\(.*\)//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
234 234
     done
235 235
     gradle test
236 236
     popd