[前][次][番号順一覧][スレッド一覧]

ruby-changes:57449

From: Hiroshi <ko1@a...>
Date: Sun, 1 Sep 2019 08:57:43 +0900 (JST)
Subject: [ruby-changes:57449] Hiroshi SHIBATA: 1756ec2065 (master): Ignore the all of warnings with inline_spec.rb of bundler examples.

https://git.ruby-lang.org/ruby.git/commit/?id=1756ec2065

From 1756ec2065d5219659b585f3fe3ce666861acd3a Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Sun, 1 Sep 2019 08:56:00 +0900
Subject: Ignore the all of warnings with inline_spec.rb of bundler examples.


diff --git a/spec/bundler/runtime/inline_spec.rb b/spec/bundler/runtime/inline_spec.rb
index 123d0e0..b613317 100644
--- a/spec/bundler/runtime/inline_spec.rb
+++ b/spec/bundler/runtime/inline_spec.rb
@@ -90,7 +90,7 @@ RSpec.describe "bundler/inline#gemfile" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/runtime/inline_spec.rb#L90
     expect(out).to include("Installing activesupport")
     err.gsub! %r{(.*lib/sinatra/base\.rb:\d+: warning: constant ::Fixnum is deprecated$)}, ""
     err_lines = err.split("\n")
-    err_lines.reject!{|line| line =~ /\.rb:\d+: warning: The last/}
+    err_lines.reject!{|line| line =~ /\.rb:\d+: warning: /}
     expect(err_lines).to be_empty
     expect(exitstatus).to be_zero if exitstatus
   end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]