Restored a corrected Reed-Solomon optimization and fixed a small issue in black box...
[zxing.git] / core / test / src / com / google / zxing / common / AbstractBlackBoxTestCase.java
index f1a9075..94ccc5e 100644 (file)
@@ -108,7 +108,7 @@ public abstract class AbstractBlackBoxTestCase extends TestCase {
       if (passed) {
         passedCount++;
       } else {
-        System.out.println("Mismatch: expected '" + expectedText + "' but got '" + resultText + '\'');
+        fail("Mismatch: expected '" + expectedText + "' but got '" + resultText + '\'');
       }
 
       // Try "try harder" mode