diff options
Diffstat (limited to 'pkg/lang/vm/text/compiler_test.go')
| -rw-r--r-- | pkg/lang/vm/text/compiler_test.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/lang/vm/text/compiler_test.go b/pkg/lang/vm/text/compiler_test.go index cf2f6a9..237e884 100644 --- a/pkg/lang/vm/text/compiler_test.go +++ b/pkg/lang/vm/text/compiler_test.go @@ -13,8 +13,7 @@ import ( func TestSimple(t *testing.T) { src := ` - get_arg - get_arg + add sub ret ` @@ -24,8 +23,7 @@ func TestSimple(t *testing.T) { require.NoError(t, err) parts := [][]byte{ - opBin(code.OpGetArg), - opBin(code.OpGetArg), + opBin(code.OpAdd), opBin(code.OpSub), opBin(code.OpRet), } |
