From 82995d4615e993f1d13f3e826b93fbd65c47e19e Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Tue, 25 Apr 2023 17:27:57 +0200 Subject: [PATCH] Update to ruby/spec@7f6ca5b --- spec/ruby/core/kernel/require_spec.rb | 2 +- spec/ruby/library/io-wait/wait_spec.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/ruby/core/kernel/require_spec.rb b/spec/ruby/core/kernel/require_spec.rb index 76f6c381db..896afb840a 100644 --- a/spec/ruby/core/kernel/require_spec.rb +++ b/spec/ruby/core/kernel/require_spec.rb @@ -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 diff --git a/spec/ruby/library/io-wait/wait_spec.rb b/spec/ruby/library/io-wait/wait_spec.rb index 669ee70561..d968c38774 100644 --- a/spec/ruby/library/io-wait/wait_spec.rb +++ b/spec/ruby/library/io-wait/wait_spec.rb @@ -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