summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorksss <[email protected]>2016-08-07 22:18:08 +0900
committerksss <[email protected]>2016-08-07 22:19:21 +0900
commitd2c1f4d10b29040aad3fbf38b2b27fe46e145e63 (patch)
tree8587d7611565b67f3ffd963bc5b48e66f1caa011 /test
parentb462ef450665141a38978d5b31b5550a60db4e6b (diff)
downloadmruby-d2c1f4d10b29040aad3fbf38b2b27fe46e145e63.tar.gz
mruby-d2c1f4d10b29040aad3fbf38b2b27fe46e145e63.zip
Enable Fixnum option
Diffstat (limited to 'test')
-rw-r--r--test/io.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/io.rb b/test/io.rb
index 6e1bcb247..1b0a2d52e 100644
--- a/test/io.rb
+++ b/test/io.rb
@@ -401,6 +401,7 @@ assert('IO.popen with in option') do
assert_equal "hello", IO.popen("cat", "r", in: r) { |i| i.read }
assert_equal "", r.read
end
+ assert_raise(ArgumentError) { IO.popen("hello", "r", in: Object.new) }
rescue NotImplementedError => e
skip e.message
end