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 =>