about summary refs log tree commit diff stats
path: root/baremetal
diff options
context:
space:
mode:
Diffstat (limited to 'baremetal')
-rw-r--r--baremetal/502test.mu9
1 files changed, 3 insertions, 6 deletions
diff --git a/baremetal/502test.mu b/baremetal/502test.mu
index d26eaeb1..3431bfa3 100644
--- a/baremetal/502test.mu
+++ b/baremetal/502test.mu
@@ -3,15 +3,12 @@ fn check-ints-equal _a: int, b: int, msg: (addr array byte) {
   var a/eax: int <- copy _a
   compare a, b
   {
-    break-if-=
-    draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg
-    count-test-failure
-    return
-  }
-  {
     break-if-!=
     draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, ".", 3/fg/cyan, 0/bg
+    return
   }
+  draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, msg, 3/fg/cyan, 0/bg
+  count-test-failure
 }
 
 fn test-check-ints-equal {