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/indexerror.rb | |
| parent | 00caf25b523b9ab6858e704f26f9b4bb20639a8e (diff) | |
| download | mruby-c78dc2930c6b8c927e6c1415ecbc13e727c3637c.tar.gz mruby-c78dc2930c6b8c927e6c1415ecbc13e727c3637c.zip | |
Add superclass tests for Exceptions
Diffstat (limited to 'test/t/indexerror.rb')
| -rw-r--r-- | test/t/indexerror.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/t/indexerror.rb b/test/t/indexerror.rb index d0cb81f32..d7c8ba148 100644 --- a/test/t/indexerror.rb +++ b/test/t/indexerror.rb @@ -4,3 +4,8 @@ assert('IndexError', '15.2.33') do IndexError.class == Class end + +assert('IndexError superclass', '15.2.33.2') do + IndexError.superclass == StandardError +end + |
