ruby-changes:55050
From: k0kubun <ko1@a...>
Date: Thu, 14 Mar 2019 22:47:16 +0900 (JST)
Subject: [ruby-changes:55050] k0kubun:r67257 (trunk): Skip Bundler's test made fail by r67226
k0kubun 2019-03-14 22:47:10 +0900 (Thu, 14 Mar 2019) New Revision: 67257 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67257 Log: Skip Bundler's test made fail by r67226 Possible fix would be https://github.com/bundler/bundler/pull/7038, but Ruby script ending with `^~~` could be wrongly stripped by that? Modified files: trunk/spec/bundler/bundler/dsl_spec.rb Index: spec/bundler/bundler/dsl_spec.rb =================================================================== --- spec/bundler/bundler/dsl_spec.rb (revision 67256) +++ spec/bundler/bundler/dsl_spec.rb (revision 67257) @@ -272,6 +272,7 @@ RSpec.describe Bundler::Dsl do https://github.com/ruby/ruby/blob/trunk/spec/bundler/bundler/dsl_spec.rb#L272 describe "syntax errors" do it "will raise a Bundler::GemfileError" do + skip "this is failing with ruby 2.7 after r67226. consider merging https://github.com/bundler/bundler/pull/7038 or fixing this test." gemfile "gem 'foo', :path => /unquoted/string/syntax/error" expect { Bundler::Dsl.evaluate(bundled_app("Gemfile"), nil, true) }. to raise_error(Bundler::GemfileError, /There was an error parsing `Gemfile`:( compile error -)? unknown regexp options - trg. Bundler cannot continue./) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/