From d2c1f4d10b29040aad3fbf38b2b27fe46e145e63 Mon Sep 17 00:00:00 2001 From: ksss Date: Sun, 7 Aug 2016 22:18:08 +0900 Subject: Enable Fixnum option --- test/io.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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 -- cgit v1.2.3