[rubygems/rubygems] Fix skipped spec on Windows

https://github.com/rubygems/rubygems/commit/bf0f4b98ee
This commit is contained in:
David Rodríguez 2022-01-17 20:46:49 +01:00 committed by Hiroshi SHIBATA
parent f04954d95c
commit 39c36a5cf4
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -101,8 +101,6 @@ RSpec.describe "bundle install with install-time dependencies" do
end
it "installs gems with a dependency with no type" do
skip "incorrect data check error" if Gem.win_platform?
build_repo2
path = "#{gem_repo2}/#{Gem::MARSHAL_SPEC_DIR}/actionpack-2.3.2.gemspec.rz"
@ -110,7 +108,7 @@ RSpec.describe "bundle install with install-time dependencies" do
spec.dependencies.each do |d|
d.instance_variable_set(:@type, :fail)
end
File.open(path, "w") do |f|
File.open(path, "wb") do |f|
f.write Gem.deflate(Marshal.dump(spec))
end