rubyx/test/fragments/test_foo.rb
Torsten Ruger 7b1e89effb get fragment tests back online
the 58%  REALLY doesn’t look good
and things have settle down, so no more excuses
2015-07-18 14:33:09 +03:00

26 lines
343 B
Ruby

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