summaryrefslogtreecommitdiff
path: root/vm1/vm_test.go
diff options
context:
space:
mode:
authorMarc Vertes <marc.vertes@tendermint.com>2023-08-09 11:47:39 +0200
committerGitHub <noreply@github.com>2023-08-09 11:47:39 +0200
commit947873b34aabe46dfb9f8d06214736cb11b5a6b2 (patch)
tree9fc4728cf39017ee0275d62a7578881cbb3073bb /vm1/vm_test.go
parent355750be61fbf4b90d132a9560e01113f22f4c38 (diff)
codegen: add a bytecode generator (#5)
* codegen: add a bytecode generator * cleaning scanner, parser and vm1.
Diffstat (limited to 'vm1/vm_test.go')
-rw-r--r--vm1/vm_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm1/vm_test.go b/vm1/vm_test.go
index 1268bba..6a00808 100644
--- a/vm1/vm_test.go
+++ b/vm1/vm_test.go
@@ -25,6 +25,7 @@ func TestVM(t *testing.T) {
func BenchmarkVM(b *testing.B) {
for _, test := range tests {
+ test := test
b.Run("", func(b *testing.B) {
for i := 0; i < b.N; i++ {
b.StopTimer()