aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-21 15:46:14 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-21 15:46:14 +0000
commit19bca2e6b203e4b25b5b14a6907177b1267d927d (patch)
tree04ab46c262423813aa6fc0149f5ebb5cfaf38f36 /test/ruby/test_io.rb
parent15e793bad9ca2da2e6d6ab50b3469fcebf769f2c (diff)
downloadruby-19bca2e6b203e4b25b5b14a6907177b1267d927d.tar.gz
* test/ruby/test_io.rb (test_fcntl_dupfd): the argument of F_DUPFD is
minimum file descriptor. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r--test/ruby/test_io.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index 35b29068b9..7623053c79 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -1922,7 +1922,7 @@ End
Tempfile.open(self.class.name) do |f|
fd = f.fcntl(Fcntl::F_DUPFD, 63)
begin
- assert_equal(fd, 63)
+ assert_operator(fd, :>=, 63)
ensure
IO.for_fd(fd).close
end