summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-04-25 17:27:57 +0200
committerBenoit Daloze <eregontp@gmail.com>2023-04-25 17:27:57 +0200
commit82995d4615e993f1d13f3e826b93fbd65c47e19e (patch)
tree1fbec547e11c7781149988b66684780fc18156bf /spec
parente3d05001edf0326b24a06f0ec6cdc156663e3bf0 (diff)
downloadruby-82995d4615e993f1d13f3e826b93fbd65c47e19e.tar.gz
Update to ruby/spec@7f6ca5b
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/core/kernel/require_spec.rb2
-rw-r--r--spec/ruby/library/io-wait/wait_spec.rb1
2 files changed, 2 insertions, 1 deletions
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