1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add a trick to pending for r52509

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2015-11-10 02:25:52 +00:00
parent 84694f3d9b
commit 1ed3287af1

View file

@ -1495,6 +1495,7 @@ class TestRefinement < Test::Unit::TestCase
end
def test_reopen_refinement_module
flag = false
assert_separately([], <<-"end;")
$VERBOSE = nil
class C
@ -1521,6 +1522,11 @@ class TestRefinement < Test::Unit::TestCase
assert_equal(:bar, C.new.m, "[ruby-core:71423] [Bug #11672]")
end;
flag = true
rescue MiniTest::Assertion
skip 'expected to fail'
ensure
raise MiniTest::Assertion, 'this test is expected to fail' if flag
end
private