Skip to content

Commit

Permalink
Just using Exception gives us the same coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tnm committed Dec 17, 2012
1 parent 961ff56 commit 7b73c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/errors_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_rugged_error_classes_exist
# which descends from Exception
error_classes.each do |klass|
err = klass.new
assert err.is_a?(StandardError) || err.is_a?(Exception)
assert err.is_a?(Exception)
end
end
end
Expand Down

0 comments on commit 7b73c4b

Please sign in to comment.