mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2025-03-11 01:34:25 +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)
|
scr.write(2, Color.Orange)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
doc.printOut()
|
||||||
|
|
||||||
doc.triplets shouldEqual List(
|
doc.triplets shouldEqual List(
|
||||||
("LDA", "#white".some, "write White to screen (0)".some),
|
("LDA", "#white".some, "write White to screen (0)".some),
|
||||||
("STA", "$0200".some, "".some),
|
("STA", "$0200".some, "".some),
|
||||||
@ -29,8 +31,6 @@ class Easy6502Spec extends AnyFlatSpec with should.Matchers:
|
|||||||
("STA", "$0202".some, "".some)
|
("STA", "$0202".some, "".some)
|
||||||
)
|
)
|
||||||
|
|
||||||
doc.printOut()
|
|
||||||
|
|
||||||
"define style dsl" should "compile" in:
|
"define style dsl" should "compile" in:
|
||||||
val doc =
|
val doc =
|
||||||
asmDoc { implicit ctx =>
|
asmDoc { implicit ctx =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user