diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-10 02:25:52 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-10 02:25:52 +0000 |
commit | a6cd7201486efa5c1f2427d9ab9032add386e903 (patch) | |
tree | a31431d14a7eac7c161659cd52aa069211277897 | |
parent | 9d55ce9dbf5f4be606f87d622391187f3c8635ee (diff) | |
download | ruby-a6cd7201486efa5c1f2427d9ab9032add386e903.tar.gz |
Add a trick to pending for r52509
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_refinement.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/test_refinement.rb b/test/ruby/test_refinement.rb index 43f58b1038..b69135f321 100644 --- a/test/ruby/test_refinement.rb +++ b/test/ruby/test_refinement.rb @@ -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 |