Make memory an object
This commit is contained in:
@@ -41,7 +41,7 @@ func TestFirst(t *testing.T) {
|
||||
t.Fatal(state)
|
||||
}
|
||||
|
||||
if state.globalMemory[0] != 3 {
|
||||
t.Fatal(state.globalMemory[0])
|
||||
if state.globalMemory.mustReadUnsigned(0) != 3 {
|
||||
t.Fatal(state.globalMemory.mustReadUnsigned(0))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user