From 19bca2e6b203e4b25b5b14a6907177b1267d927d Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 21 Nov 2011 15:46:14 +0000 Subject: * 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 --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_io.rb') 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 -- cgit v1.2.3