Commit 8ecb24f1 authored by Joey Zhou's avatar Joey Zhou

parse now returns byte[] instead of string

parent 3a45cdea
...@@ -13,7 +13,7 @@ func TestCompile(t *testing.T) { ...@@ -13,7 +13,7 @@ func TestCompile(t *testing.T) {
} }
calc := (48 + 0*256 + 0*int64(math.Pow(256, 2))) calc := (48 + 0*256 + 0*int64(math.Pow(256, 2)))
if Big(instr).Int64() != calc { if BigD(instr).Int64() != calc {
t.Error("Expected", calc, ", got:", instr) t.Error("Expected", calc, ", got:", instr)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment