codegen: handle exceptions of a method
[mate.git] / tests / Strings1.java
index 9a6a9bae2110dace31e01da4bd6a59d411c4906d..5fa12cfdce68b5f7fa038651797fa75c8fd7bc04 100644 (file)
@@ -7,21 +7,21 @@ public class Strings1 {
                String c = "wtf";
 
                if (a == b) {
-                       System.out.println("okay :-)");
+                       System.out.println("result: okay :-)");
                } else {
-                       System.out.println("bad :-(");
+                       System.out.println("result: bad :-(");
                }
 
                if (a != c) {
-                       System.out.println("okay :-)");
+                       System.out.println("result: okay :-)");
                } else {
-                       System.out.println("bad :-(");
+                       System.out.println("result: bad :-(");
                }
 
                if (a == c) {
-                       System.out.println("bad :-(");
+                       System.out.println("result: bad :-(");
                } else {
-                       System.out.println("okay :-)");
+                       System.out.println("result: okay :-)");
                }
        }
 }