summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2013-06-14 22:16:52 +0800
committerDaniel Bovensiepen <[email protected]>2013-06-14 22:16:52 +0800
commit67af374e37699d515d4e43920a7b1db5f19420ad (patch)
tree9707e003151a28d67461137ec7f38c30938525fd /test
parent8d38d9eaf1d36abafbf81162df0484e19e3da064 (diff)
downloadmruby-67af374e37699d515d4e43920a7b1db5f19420ad.tar.gz
mruby-67af374e37699d515d4e43920a7b1db5f19420ad.zip
Improve IndexError Tests
Diffstat (limited to 'test')
-rw-r--r--test/t/indexerror.rb5
1 files 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
-