starting on ruby send
This commit is contained in:
@ -4,7 +4,8 @@ require "parser/ruby22"
|
||||
|
||||
module Melon
|
||||
module MelonTests
|
||||
|
||||
include CompilerHelper
|
||||
|
||||
def setup
|
||||
Register.machine.boot
|
||||
end
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user