summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_io.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index 7256e6fc16..35b29068b9 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -1920,9 +1920,9 @@ End
def test_fcntl_dupfd
Tempfile.open(self.class.name) do |f|
- fd = f.fcntl(Fcntl::F_DUPFD, 255)
+ fd = f.fcntl(Fcntl::F_DUPFD, 63)
begin
- assert_equal(fd, 255)
+ assert_equal(fd, 63)
ensure
IO.for_fd(fd).close
end