Skip to content

Instantly share code, notes, and snippets.

@janfri janfri/gist:169636
Created Aug 18, 2009

Embed
What would you like to do?
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
You can’t perform that action at this time.