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:
parent
84694f3d9b
commit
1ed3287af1
1 changed files with 6 additions and 0 deletions
|
@ -1495,6 +1495,7 @@ class TestRefinement < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_reopen_refinement_module
|
def test_reopen_refinement_module
|
||||||
|
flag = false
|
||||||
assert_separately([], <<-"end;")
|
assert_separately([], <<-"end;")
|
||||||
$VERBOSE = nil
|
$VERBOSE = nil
|
||||||
class C
|
class C
|
||||||
|
@ -1521,6 +1522,11 @@ class TestRefinement < Test::Unit::TestCase
|
||||||
|
|
||||||
assert_equal(:bar, C.new.m, "[ruby-core:71423] [Bug #11672]")
|
assert_equal(:bar, C.new.m, "[ruby-core:71423] [Bug #11672]")
|
||||||
end;
|
end;
|
||||||
|
flag = true
|
||||||
|
rescue MiniTest::Assertion
|
||||||
|
skip 'expected to fail'
|
||||||
|
ensure
|
||||||
|
raise MiniTest::Assertion, 'this test is expected to fail' if flag
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue