Commit 9c93be02 authored by Daniel Bovensiepen's avatar Daniel Bovensiepen

Improve RangeError Tests

parent 9166a135
...@@ -2,10 +2,9 @@ ...@@ -2,10 +2,9 @@
# RangeError ISO Test # RangeError ISO Test
assert('RangeError', '15.2.26') do assert('RangeError', '15.2.26') do
RangeError.class == Class assert_equal RangeError.class, Class
end end
assert('RangeError superclass', '15.2.26.2') do assert('RangeError superclass', '15.2.26.2') do
RangeError.superclass == StandardError assert_equal RangeError.superclass, StandardError
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment