From 67af374e37699d515d4e43920a7b1db5f19420ad Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Date: Fri, 14 Jun 2013 22:16:52 +0800 Subject: Improve IndexError Tests --- test/t/indexerror.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/t/indexerror.rb b/test/t/indexerror.rb index d7c8ba148..b71766c95 100644 --- a/test/t/indexerror.rb +++ b/test/t/indexerror.rb @@ -2,10 +2,9 @@ # IndexError ISO Test assert('IndexError', '15.2.33') do - IndexError.class == Class + assert_equal IndexError.class, Class end assert('IndexError superclass', '15.2.33.2') do - IndexError.superclass == StandardError + assert_equal IndexError.superclass, StandardError end - -- cgit v1.2.3