summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAkira Yumiyama <[email protected]>2014-03-26 22:09:10 +0900
committerAkira Yumiyama <[email protected]>2014-03-26 22:09:10 +0900
commiteda9d1a8fc299979239b8aeb0382abf51b3fc363 (patch)
treede340db1560e1f230101a74c24a09274e301cf4b /test
parentab9dcc766e6ea82f88ed9f90a5cf3ba4096ee778 (diff)
downloadmruby-eda9d1a8fc299979239b8aeb0382abf51b3fc363.tar.gz
mruby-eda9d1a8fc299979239b8aeb0382abf51b3fc363.zip
nonexistent test fixes (for travis-ci)
Diffstat (limited to 'test')
-rw-r--r--test/io.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/io.rb b/test/io.rb
index de6c52d07..99f236fb4 100644
--- a/test/io.rb
+++ b/test/io.rb
@@ -51,14 +51,14 @@ assert('IO.sysopen, IO#close, IO#closed?') do
assert_equal true, io.closed?, "IO#closed? should return true"
end
-assert('IO.sysopen("/nonexistent")') do
+assert('IO.sysopen("./nonexistent")') do
if Object.const_defined? :Errno
eclass = Errno::ENOENT
else
eclass = RuntimeError
end
assert_raise eclass do
- fd = IO.sysopen "/nonexistent"
+ fd = IO.sysopen "./nonexistent"
IO._sysclose fd
end
end