diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-04-29 11:09:35 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-04-29 11:09:35 +0900 |
| commit | 8cc2ad3348d00825d5daa6aed63a952ac6cec845 (patch) | |
| tree | 790c354760acc252476ecd9f5acd81dcdcee0aa7 /mrbgems/mruby-io/test/file.rb | |
| parent | e4992cdd03db08fea6fa57507aeeabed8da73562 (diff) | |
| download | mruby-8cc2ad3348d00825d5daa6aed63a952ac6cec845.tar.gz mruby-8cc2ad3348d00825d5daa6aed63a952ac6cec845.zip | |
Fix missing assertions in `mruby-io` test
Diffstat (limited to 'mrbgems/mruby-io/test/file.rb')
| -rw-r--r-- | mrbgems/mruby-io/test/file.rb | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/mrbgems/mruby-io/test/file.rb b/mrbgems/mruby-io/test/file.rb index ba4100492..88ced31a6 100644 --- a/mrbgems/mruby-io/test/file.rb +++ b/mrbgems/mruby-io/test/file.rb @@ -1,15 +1,13 @@ ## # File Test -assert('File TEST SETUP') do - MRubyIOTestUtil.io_test_setup -end +MRubyIOTestUtil.io_test_setup -assert('File', '15.2.21') do +assert('File.class', '15.2.21') do assert_equal Class, File.class end -assert('File', '15.2.21.2') do +assert('File.superclass', '15.2.21.2') do assert_equal IO, File.superclass end @@ -204,6 +202,4 @@ assert('File.chmod') do end end -assert('File TEST CLEANUP') do - assert_nil MRubyIOTestUtil.io_test_cleanup -end +MRubyIOTestUtil.io_test_cleanup |
