diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-06-03 23:31:17 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-06-03 23:31:17 +0800 |
| commit | c78dc2930c6b8c927e6c1415ecbc13e727c3637c (patch) | |
| tree | 9fec1fabccd65a7b4240c550630845b04cd48396 /test/t/argumenterror.rb | |
| parent | 00caf25b523b9ab6858e704f26f9b4bb20639a8e (diff) | |
| download | mruby-c78dc2930c6b8c927e6c1415ecbc13e727c3637c.tar.gz mruby-c78dc2930c6b8c927e6c1415ecbc13e727c3637c.zip | |
Add superclass tests for Exceptions
Diffstat (limited to 'test/t/argumenterror.rb')
| -rw-r--r-- | test/t/argumenterror.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/t/argumenterror.rb b/test/t/argumenterror.rb index ca998f8de..71cf38e26 100644 --- a/test/t/argumenterror.rb +++ b/test/t/argumenterror.rb @@ -13,3 +13,8 @@ assert('ArgumentError', '15.2.24') do ArgumentError.class == Class and e2.class == ArgumentError end + +assert('ArgumentError superclass', '15.2.24.2') do + ArgumentError.superclass == StandardError +end + |
