fix the putstring sys call indexing
index 0 is the marker word , so like in some, all indexes 1 based works :-)
This commit is contained in:
@ -15,7 +15,7 @@ class HelloTest < MiniTest::Test
|
||||
@string_input = <<HERE
|
||||
class Object
|
||||
int main()
|
||||
"Hello again\n".putstring()
|
||||
return "Hello again\n".putstring()
|
||||
end
|
||||
end
|
||||
HERE
|
||||
|
Reference in New Issue
Block a user