aboutsummaryrefslogtreecommitdiffstats
path: root/parsing_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'parsing_test.go')
-rw-r--r--parsing_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsing_test.go b/parsing_test.go
index fa319e7bf..6aa9e240c 100644
--- a/parsing_test.go
+++ b/parsing_test.go
@@ -6,13 +6,13 @@ import (
)
func TestCompile(t *testing.T) {
- instr, err := CompileInstr("SET 10 1")
+ instr, err := CompileInstr("PUSH")
if err != nil {
t.Error("Failed compiling instruction")
}
- calc := (67 + 10 * 256 + 1 * int64(math.Pow(256,2)))
+ calc := (48 + 0 * 256 + 0 * int64(math.Pow(256,2)))
if Big(instr).Int64() != calc {
t.Error("Expected", calc, ", got:", instr)
}