rubyx/test/fragments/test_foo.rb
Torsten Ruger 6da1c69b87 minor
2015-07-19 12:33:33 +03:00

26 lines
327 B
Ruby

require_relative 'helper'
class TestFoo < MiniTest::Test
include Fragments
def test_foo2
@string_input = <<HERE
def foo2(x)
a = 5
end
3.foo( 4 )
HERE
@expect = [ Virtual::Return ]
check
end
def test_foo
@string_input = <<HERE
3.foo( 4 )
HERE
@expect = [Virtual::Return ]
check
end
end