about summary refs log tree commit diff stats
path: root/baremetal/502test.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-02-09 21:53:24 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-02-09 21:53:24 -0800
commitdfa61e6299ef88aa9cb9a62fc114337a6a057f8a (patch)
tree393c108738a452930b9481be423d1078c2730ce6 /baremetal/502test.mu
parentc29e589b6aa66aa1fef1f45a4f2e7b9ee36477d2 (diff)
downloadmu-dfa61e6299ef88aa9cb9a62fc114337a6a057f8a.tar.gz
7705
Diffstat (limited to 'baremetal/502test.mu')
-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 {