about summary refs log tree commit diff
path: root/pkg/lang/compiler/compiler_test.go
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-07-11 11:07:51 +0200
committerMel <einebeere@gmail.com>2022-07-11 11:07:51 +0200
commit74dd678dfd1aae9e655fd13cb65278ea9ba307e2 (patch)
tree6dc757259edb4f7163e0563c9acec2a239f56d80 /pkg/lang/compiler/compiler_test.go
parent7a60e91c8c45663127cfa3aa31a14c930f717aeb (diff)
downloadjinx-74dd678dfd1aae9e655fd13cb65278ea9ba307e2.tar.zst
jinx-74dd678dfd1aae9e655fd13cb65278ea9ba307e2.zip
Reimplement argument counts
Diffstat (limited to 'pkg/lang/compiler/compiler_test.go')
-rw-r--r--pkg/lang/compiler/compiler_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/lang/compiler/compiler_test.go b/pkg/lang/compiler/compiler_test.go
index cd62088..bdbc375 100644
--- a/pkg/lang/compiler/compiler_test.go
+++ b/pkg/lang/compiler/compiler_test.go
@@ -383,6 +383,7 @@ func TestFunctionArgs(t *testing.T) {
 
 	expected := `
 	push_function @add
+	set_arg_count 2
 	push_int 4
 	push_int 5
 	call 2