From 1a8f1379bc644acaa752d5cafae5eb054b29bfef Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 28 Nov 2024 12:23:52 +0900 Subject: Skip failure tests with Windows platform --- spec/bundled_gems_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/bundled_gems_spec.rb b/spec/bundled_gems_spec.rb index 7da8380cf0..1bb61cbaed 100644 --- a/spec/bundled_gems_spec.rb +++ b/spec/bundled_gems_spec.rb @@ -116,6 +116,8 @@ RSpec.describe "bundled_gems.rb" do end it "Show warning sub-feature like fiddle/import" do + skip "This test is not working on Windows" if Gem.win_platform? + script <<-RUBY gemfile do source "https://rubygems.org" @@ -140,6 +142,8 @@ RSpec.describe "bundled_gems.rb" do end it "Show warning when bundle exec with shebang's script" do + skip "This test is not working on Windows" if Gem.win_platform? + code = <<-RUBY #!/usr/bin/env ruby require "ostruct" -- cgit v1.2.3