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