Skip to content

Commit

Permalink
fixing non-functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt committed Nov 28, 2009
1 parent 0392f15 commit 964f5e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/structured_warnings_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def test_passing_a_message_only_to_assert_warn
end

def test_warnings_may_not_be_disabled_twice
assert [Warning], Warning.disable
assert [Warning], Warning.disable
assert [], Warning.enable
assert_equal [Warning], Warning.disable
assert_equal [Warning], Warning.disable
assert_equal [], Warning.enable
end
end

0 comments on commit 964f5e9

Please sign in to comment.