summaryrefslogtreecommitdiffhomepage
path: root/test/t/typeerror.rb
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2012-06-03 23:31:17 +0800
committerDaniel Bovensiepen <[email protected]>2012-06-03 23:31:17 +0800
commitc78dc2930c6b8c927e6c1415ecbc13e727c3637c (patch)
tree9fec1fabccd65a7b4240c550630845b04cd48396 /test/t/typeerror.rb
parent00caf25b523b9ab6858e704f26f9b4bb20639a8e (diff)
downloadmruby-c78dc2930c6b8c927e6c1415ecbc13e727c3637c.tar.gz
mruby-c78dc2930c6b8c927e6c1415ecbc13e727c3637c.zip
Add superclass tests for Exceptions
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
+