summaryrefslogtreecommitdiff
path: root/vm/vm_test.go
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-11-29 19:46:34 +0100
committerMarc Vertes <mvertes@free.fr>2025-11-29 19:46:34 +0100
commitf40a1c23467eef36f53635e525f8b25f591e8a45 (patch)
treebeae2442ecee1d734b9a676f7b176376a1d80af5 /vm/vm_test.go
parentfbc73922e9853d7e344e388f3fdfedb8fa323682 (diff)
chore: shorter name for packages, simpilfy vm values
Diffstat (limited to 'vm/vm_test.go')
-rw-r--r--vm/vm_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_test.go b/vm/vm_test.go
index f7cbfbf..a968281 100644
--- a/vm/vm_test.go
+++ b/vm/vm_test.go
@@ -136,7 +136,7 @@ var tests = []struct {
},
start: 0, end: 1, mem: "[3]",
}, { // #10 -- Assign a variable.
- sym: []Value{{Type: TypeOf(0), Data: reflect.ValueOf(0)}},
+ sym: []Value{{Type: TypeOf(0), Value: reflect.ValueOf(0)}},
code: []Instruction{
{Op: Grow, Arg: []int{1}},
{Op: New, Arg: []int{2, 0}},