starting on ruby send

This commit is contained in:
Torsten Ruger
2017-01-15 20:30:47 +02:00
parent cf0a123866
commit 96f19d18c0
5 changed files with 19 additions and 5 deletions

View File

@ -4,7 +4,8 @@ require "parser/ruby22"
module Melon
module MelonTests
include CompilerHelper
def setup
Register.machine.boot
end

View File

@ -6,9 +6,9 @@ module Melon
def test_ruby_hello
@string_input = 'puts "Hello there"'
@string_input = in_Space 'def puts(str) ; str.putstring; end ; def main; putstring "Hello there"; end'
assert !check
# assert_equal "Hello there" , @interpreter.stdout
assert_equal "Hello there" , @interpreter.stdout
end
end