ruby-changes:63600
From: Benoit <ko1@a...>
Date: Fri, 13 Nov 2020 21:18:30 +0900 (JST)
Subject: [ruby-changes:63600] acbe7aa197 (master): Update to ruby/mspec@f8b0618
https://git.ruby-lang.org/ruby.git/commit/?id=acbe7aa197 From acbe7aa19705905e7ad1952395e98e8bfe583a97 Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Fri, 13 Nov 2020 13:17:22 +0100 Subject: Update to ruby/mspec@f8b0618 diff --git a/spec/mspec/lib/mspec/helpers/io.rb b/spec/mspec/lib/mspec/helpers/io.rb index 1938255..29c6c37 100644 --- a/spec/mspec/lib/mspec/helpers/io.rb +++ b/spec/mspec/lib/mspec/helpers/io.rb @@ -85,7 +85,3 @@ def new_io(name, mode = "w:utf-8") https://github.com/ruby/ruby/blob/trunk/spec/mspec/lib/mspec/helpers/io.rb#L85 File.new(name, mode) end end - -def find_unused_fd - Dir.entries("/dev/fd").map(&:to_i).max + 1 -end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/