summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTomoyuki Sahara <[email protected]>2017-06-07 11:36:37 +0900
committerTomoyuki Sahara <[email protected]>2017-06-07 11:36:37 +0900
commit3a73a5849388fe908af7131804f9fc7f55472651 (patch)
treed3f9697b69004137bd0f2a69d7e382fa5d335c77
parentdab87cf96016aa245a0d5b1ac29559672966c377 (diff)
downloadmruby-3a73a5849388fe908af7131804f9fc7f55472651.tar.gz
mruby-3a73a5849388fe908af7131804f9fc7f55472651.zip
mruby 1.2.0 assumes test blocks return their results. master does not.
-rw-r--r--test/io.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/io.rb b/test/io.rb
index ee4309b57..b654ff213 100644
--- a/test/io.rb
+++ b/test/io.rb
@@ -243,6 +243,7 @@ assert('IO.sysopen, IO#sysread') do
io = IO.new fd, "w"
assert_raise(IOError) { io.sysread(1) }
io.close
+ true
end
assert('IO.sysopen, IO#syswrite') do