summaryrefslogtreecommitdiffhomepage
path: root/test/t/typeerror.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/typeerror.rb')
-rw-r--r--test/t/typeerror.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/t/typeerror.rb b/test/t/typeerror.rb
index c4434aa24..d48db111a 100644
--- a/test/t/typeerror.rb
+++ b/test/t/typeerror.rb
@@ -4,3 +4,8 @@
assert('TypeError', '15.2.29') do
TypeError.class == Class
end
+
+assert('TypeError superclass', '15.2.29.2') do
+ TypeError.superclass == StandardError
+end
+