From 96c544e4d5f9220ce1e135341fec5bfedc503c57 Mon Sep 17 00:00:00 2001 From: Mark Canlas Date: Thu, 11 Apr 2024 09:49:30 -0400 Subject: [PATCH] move assert to return --- .../scala/com/htmlism/mos6502/dsl/snake/Easy6502Spec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/scala/com/htmlism/mos6502/dsl/snake/Easy6502Spec.scala b/src/test/scala/com/htmlism/mos6502/dsl/snake/Easy6502Spec.scala index a6a5f64..2d7cebf 100644 --- a/src/test/scala/com/htmlism/mos6502/dsl/snake/Easy6502Spec.scala +++ b/src/test/scala/com/htmlism/mos6502/dsl/snake/Easy6502Spec.scala @@ -20,6 +20,8 @@ class Easy6502Spec extends AnyFlatSpec with should.Matchers: scr.write(2, Color.Orange) } + doc.printOut() + doc.triplets shouldEqual List( ("LDA", "#white".some, "write White to screen (0)".some), ("STA", "$0200".some, "".some), @@ -29,8 +31,6 @@ class Easy6502Spec extends AnyFlatSpec with should.Matchers: ("STA", "$0202".some, "".some) ) - doc.printOut() - "define style dsl" should "compile" in: val doc = asmDoc { implicit ctx =>