summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
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
-