From dfa61e6299ef88aa9cb9a62fc114337a6a057f8a Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 9 Feb 2021 21:53:24 -0800 Subject: 7705 --- baremetal/502test.mu | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'baremetal') diff --git a/baremetal/502test.mu b/baremetal/502test.mu index d26eaeb1..3431bfa3 100644 --- a/baremetal/502test.mu +++ b/baremetal/502test.mu @@ -2,16 +2,13 @@ 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 { -- cgit 1.4.1-2-gfad0