aboutsummaryrefslogtreecommitdiff
path: root/pkg/interpreter/interpreter_test.go
diff options
context:
space:
mode:
authorJulien Dessaux2021-09-23 16:14:37 +0200
committerJulien Dessaux2021-09-23 17:49:44 +0200
commit198efceb1f14c9822bf87ede6961d0f94a4760db (patch)
tree5391e03e81979b99380cf2794f8e338234a34b04 /pkg/interpreter/interpreter_test.go
parentMoved the character execution's to the pointer in order to handle the k command (diff)
downloadgofunge98-198efceb1f14c9822bf87ede6961d0f94a4760db.tar.gz
gofunge98-198efceb1f14c9822bf87ede6961d0f94a4760db.tar.bz2
gofunge98-198efceb1f14c9822bf87ede6961d0f94a4760db.zip
Implemented commands until helloworld works \o/
Diffstat (limited to 'pkg/interpreter/interpreter_test.go')
-rw-r--r--pkg/interpreter/interpreter_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/interpreter/interpreter_test.go b/pkg/interpreter/interpreter_test.go
index ff633a2..73902b2 100644
--- a/pkg/interpreter/interpreter_test.go
+++ b/pkg/interpreter/interpreter_test.go
@@ -38,7 +38,7 @@ func TestStep(t *testing.T) {
if tc.pointer == nil {
tc.pointer = pointer.NewPointer()
}
- NewInterpreter(f, tc.pointer).Step()
+ NewInterpreter(f, tc.pointer).step()
if tc.expectedField != nil {
require.Equal(t, tc.expectedField, f)
}