diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-04-29 11:54:51 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-04-29 11:54:51 +0900 |
| commit | 0615970877c213042fa7b7197116f8f2ce1f514b (patch) | |
| tree | c466fbd959e886ea903e73978eaa71cd714fb367 /mrbgems/mruby-io/test/file.rb | |
| parent | b7ff23d23535c1dbaa431b49f6016a99aa4464c6 (diff) | |
| parent | 8cc2ad3348d00825d5daa6aed63a952ac6cec845 (diff) | |
| download | mruby-0615970877c213042fa7b7197116f8f2ce1f514b.tar.gz mruby-0615970877c213042fa7b7197116f8f2ce1f514b.zip | |
Merge pull request #4413 from shuujii/fix-missing-assertions-in-mruby-io-test
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 |
