summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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