diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-12 22:21:08 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-12-12 22:21:08 +0900 |
| commit | 25bee356b1d485f6f06fdbe1836d4512947f5443 (patch) | |
| tree | 82997eff86eca1409c6ff145ad1872d14036124b /mrbgems/mruby-io/test/file.rb | |
| parent | bbb088234395efda23540d30ab5d1cb40f220d82 (diff) | |
| parent | 5ef8f18e9bab2f5855afe370c2c29df747ed199a (diff) | |
| download | mruby-25bee356b1d485f6f06fdbe1836d4512947f5443.tar.gz mruby-25bee356b1d485f6f06fdbe1836d4512947f5443.zip | |
Merge pull request #3884 from mimaki/mruby-io-test-on-windows
Fixed mruby-io test failure on Windows platform.
Diffstat (limited to 'mrbgems/mruby-io/test/file.rb')
| -rw-r--r-- | mrbgems/mruby-io/test/file.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mrbgems/mruby-io/test/file.rb b/mrbgems/mruby-io/test/file.rb index da3e2aa11..e5c127746 100644 --- a/mrbgems/mruby-io/test/file.rb +++ b/mrbgems/mruby-io/test/file.rb @@ -106,6 +106,7 @@ assert("File.readlink") do end assert("File.readlink fails with non-symlink") do + skip "readlink is not supported on this platform" if MRubyIOTestUtil.win? begin e2 = nil assert_raise(RuntimeError) { @@ -126,10 +127,6 @@ assert("File.readlink fails with non-symlink") do end end -assert('File TEST CLEANUP') do - assert_nil MRubyIOTestUtil.io_test_cleanup -end - assert('File.expand_path') do assert_equal "/", File.expand_path("..", "/tmp"), "parent path with base_dir (1)" assert_equal "/tmp", File.expand_path("..", "/tmp/mruby"), "parent path with base_dir (2)" @@ -194,3 +191,7 @@ assert('File.chmod') do File.delete('chmod-test') end end + +assert('File TEST CLEANUP') do + assert_nil MRubyIOTestUtil.io_test_cleanup +end |
