Skip to content

Commit

Permalink
Add a trick to pending for r52509
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Nov 10, 2015
1 parent 84694f3 commit 1ed3287
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/ruby/test_refinement.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1495,6 +1495,7 @@ class D < C
end

def test_reopen_refinement_module
flag = false
assert_separately([], <<-"end;")
$VERBOSE = nil
class C
Expand All @@ -1521,6 +1522,11 @@ def m
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
Expand Down

0 comments on commit 1ed3287

Please sign in to comment.