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_test.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_test.rb')
| -rw-r--r-- | mrbgems/mruby-io/test/file_test.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mrbgems/mruby-io/test/file_test.rb b/mrbgems/mruby-io/test/file_test.rb index 04e10e0c8..72e921ce9 100644 --- a/mrbgems/mruby-io/test/file_test.rb +++ b/mrbgems/mruby-io/test/file_test.rb @@ -1,9 +1,7 @@ ## # FileTest -assert('FileTest TEST SETUP') do - MRubyIOTestUtil.io_test_setup -end +MRubyIOTestUtil.io_test_setup assert("FileTest.directory?") do dir = MRubyIOTestUtil.mkdtemp("mruby-io-test.XXXXXX") @@ -112,6 +110,4 @@ assert("FileTest.zero?") do assert_true fp2.closed? end -assert('FileTest TEST CLEANUP') do - assert_nil MRubyIOTestUtil.io_test_cleanup -end +MRubyIOTestUtil.io_test_cleanup |
