зеркало из https://github.com/github/ruby.git
Update to ruby/spec@7f6ca5b
This commit is contained in:
Родитель
e3d05001ed
Коммит
82995d4615
|
@ -26,7 +26,7 @@ describe "Kernel#require" do
|
|||
features = out.lines.map { |line| File.basename(line.chomp, '.*') }
|
||||
|
||||
# Ignore CRuby internals
|
||||
features -= %w[encdb transdb]
|
||||
features -= %w[encdb transdb windows_1252]
|
||||
features.reject! { |feature| feature.end_with?('-fake') }
|
||||
|
||||
features.sort.should == provided.sort
|
||||
|
|
|
@ -10,6 +10,7 @@ describe "IO#wait" do
|
|||
@io = File.new(__FILE__ )
|
||||
|
||||
if /mswin|mingw/ =~ RUBY_PLATFORM
|
||||
require 'socket'
|
||||
@r, @w = Socket.pair(Socket::AF_INET, Socket::SOCK_STREAM, 0)
|
||||
else
|
||||
@r, @w = IO.pipe
|
||||
|
|
Загрузка…
Ссылка в новой задаче