Created
August 18, 2009 09:28
-
-
Save janfri/169636 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def safe_assert_equal expected, actual | |
assert_equal expected, actual | |
rescue Exception=>e | |
puts e | |
end | |
class Testable < Test::Unit::TestCase | |
def test_something | |
safe_assert_equal 1, 2 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment