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

ruby-changes:42464

From: nobu <ko1@a...>
Date: Mon, 11 Apr 2016 16:09:45 +0900 (JST)
Subject: [ruby-changes:42464] nobu:r54538 (trunk): test_rubyoptions.rb: suppress warning

nobu	2016-04-11 17:06:22 +0900 (Mon, 11 Apr 2016)

  New Revision: 54538

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54538

  Log:
    test_rubyoptions.rb: suppress warning
    
    * test/ruby/test_rubyoptions.rb (test_indentation_check): remove
      unused variable to suppress warning.

  Modified files:
    trunk/test/ruby/test_rubyoptions.rb
Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 54537)
+++ test/ruby/test_rubyoptions.rb	(revision 54538)
@@ -432,7 +432,6 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L432
           end
 
           a.for("false directives after #{b}") do
-            err = ["#{t.path}:4: warning: mismatched indentations at '#{e}' with '#{k}' at 2"]
             t.rewind
             t.truncate(0)
             t.puts "# -*- warn-indent: true -*-"

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

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