move assert to return

This commit is contained in:
Mark Canlas 2024-04-11 09:49:30 -04:00
parent 42a3df32a4
commit 96c544e4d5

View File

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