aboutsummaryrefslogtreecommitdiff
path: root/parse_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'parse_test.go')
-rw-r--r--parse_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/parse_test.go b/parse_test.go
index 9652b60..859f933 100644
--- a/parse_test.go
+++ b/parse_test.go
@@ -12,12 +12,12 @@ func TestDecode(t *testing.T) {
}{
{0x0000, Jump(0x0000)},
{0x1fff, Jump(0x1fff)},
- {0x2000, Cond(0x0000)},
- {0x3fff, Cond(0x1fff)},
+ {0x2000, Conditional(0x0000)},
+ {0x3fff, Conditional(0x1fff)},
{0x4000, Call(0x0000)},
{0x5fff, Call(0x1fff)},
- {0x8000, Lit(0x0000)},
- {0xffff, Lit(0x7fff)},
+ {0x8000, Literal(0x0000)},
+ {0xffff, Literal(0x7fff)},
{0x6000, ALU{Opcode: 0}},
{0x6100, ALU{Opcode: 1}},
{0x7000, ALU{Opcode: 0, RtoPC: true}},