From c78dc2930c6b8c927e6c1415ecbc13e727c3637c Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Date: Sun, 3 Jun 2012 23:31:17 +0800 Subject: Add superclass tests for Exceptions --- test/t/indexerror.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/t/indexerror.rb') 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 + -- cgit v1.2.3