summaryrefslogtreecommitdiffhomepage
path: root/test/t/rangeerror.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/rangeerror.rb')
-rw-r--r--test/t/rangeerror.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/t/rangeerror.rb b/test/t/rangeerror.rb
index 7edb5d2d9..57afdc4bd 100644
--- a/test/t/rangeerror.rb
+++ b/test/t/rangeerror.rb
@@ -4,3 +4,8 @@
assert('RangeError', '15.2.26') do
RangeError.class == Class
end
+
+assert('RangeError superclass', '15.2.26.2') do
+ RangeError.superclass == StandardError
+end
+