Skip to content

Commit

Permalink
Added an extra message test
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/minitest/dev/": change = 6249]
  • Loading branch information
zenspider committed Apr 6, 2011
1 parent 1f0aea4 commit 47aac4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test_minitest_unit.rb
Expand Up @@ -935,8 +935,9 @@ def test_flunk_message
def test_message
@assertion_count = 0

assert_equal "blah2.", @tc.message { "blah2" }.call
assert_equal "blah2.", @tc.message("") { "blah2" }.call
assert_equal "blah2.", @tc.message { "blah2" }.call
assert_equal "blah2.", @tc.message("") { "blah2" }.call
assert_equal "blah1.\nblah2.", @tc.message(:blah1) { "blah2" }.call
assert_equal "blah1.\nblah2.", @tc.message("blah1") { "blah2" }.call
end

Expand Down

0 comments on commit 47aac4c

Please sign in to comment.