diff options
| author | mirichi <[email protected]> | 2013-06-22 08:06:48 +0900 |
|---|---|---|
| committer | mirichi <[email protected]> | 2013-06-22 08:06:48 +0900 |
| commit | a01845b502a902ee1de2f34645177e64fafbb551 (patch) | |
| tree | 86d9a57bc44974d111dabb5e46d4f3e89ffe026d /test/t/argumenterror.rb | |
| parent | a5f63e486473595d67601851f00b6bb96b377a8d (diff) | |
| parent | 8cb730ae4e63a953819023a2e31265d758b9fe42 (diff) | |
| download | mruby-a01845b502a902ee1de2f34645177e64fafbb551.tar.gz mruby-a01845b502a902ee1de2f34645177e64fafbb551.zip | |
Merge remote-tracking branch 'remotes/mruby/master'
Diffstat (limited to 'test/t/argumenterror.rb')
| -rw-r--r-- | test/t/argumenterror.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/t/argumenterror.rb b/test/t/argumenterror.rb index 71cf38e26..ac254afcd 100644 --- a/test/t/argumenterror.rb +++ b/test/t/argumenterror.rb @@ -11,10 +11,11 @@ assert('ArgumentError', '15.2.24') do e2 = e1 end - ArgumentError.class == Class and e2.class == ArgumentError + assert_equal(ArgumentError.class, Class) + assert_equal(e2.class, ArgumentError) end assert('ArgumentError superclass', '15.2.24.2') do - ArgumentError.superclass == StandardError + assert_equal(ArgumentError.superclass, StandardError) end |
