summaryrefslogtreecommitdiff
path: root/test/io/nonblock/test_flush.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/io/nonblock/test_flush.rb')
-rw-r--r--test/io/nonblock/test_flush.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/io/nonblock/test_flush.rb b/test/io/nonblock/test_flush.rb
index 63e16db5a3..08d129de3f 100644
--- a/test/io/nonblock/test_flush.rb
+++ b/test/io/nonblock/test_flush.rb
@@ -53,6 +53,7 @@ class TestIONonblock < Test::Unit::TestCase
def test_nonblock
IO.pipe {|r, w|
+ w.nonblock = false
assert_equal(false, w.nonblock?)
w.nonblock do
assert_equal(true, w.nonblock?)