diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-02-09 21:53:24 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-02-09 21:53:24 -0800 |
commit | dfa61e6299ef88aa9cb9a62fc114337a6a057f8a (patch) | |
tree | 393c108738a452930b9481be423d1078c2730ce6 | |
parent | c29e589b6aa66aa1fef1f45a4f2e7b9ee36477d2 (diff) | |
download | mu-dfa61e6299ef88aa9cb9a62fc114337a6a057f8a.tar.gz |
7705
-rw-r--r-- | baremetal/502test.mu | 9 |
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 { |