diff options
Diffstat (limited to 'spec/ruby/core/io/syswrite_spec.rb')
-rw-r--r-- | spec/ruby/core/io/syswrite_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/io/syswrite_spec.rb b/spec/ruby/core/io/syswrite_spec.rb index 1b1477bc6e..a4dc8328aa 100644 --- a/spec/ruby/core/io/syswrite_spec.rb +++ b/spec/ruby/core/io/syswrite_spec.rb @@ -55,7 +55,7 @@ describe "IO#syswrite on a pipe" do r, w = IO.pipe begin w.nonblock = true - larger_than_pipe_capacity = 100 * 1024 + larger_than_pipe_capacity = 2 * 1024 * 1024 written = w.syswrite("a"*larger_than_pipe_capacity) written.should > 0 written.should < larger_than_pipe_capacity |