mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-12-21 03:29:30 +00:00
move assert to return
This commit is contained in:
parent
42a3df32a4
commit
96c544e4d5
@ -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 =>
|
||||
|
Loading…
Reference in New Issue
Block a user