aboutsummaryrefslogtreecommitdiff
path: root/parse_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'parse_test.go')
-rw-r--r--parse_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse_test.go b/parse_test.go
index 168032f..e69774b 100644
--- a/parse_test.go
+++ b/parse_test.go
@@ -39,6 +39,9 @@ func TestDecode(t *testing.T) {
if ins != tc.ins {
t.Errorf("got %v, want %v", ins, tc.ins)
}
+ if v := ins.Compile(); v != tc.bin {
+ t.Errorf("got %v, want %v", v, tc.bin)
+ }
})
}
}