[Groonga-commit] groonga/grntest at 5de86a9 [master] Suppress warnings

Back to archive index
Kouhei Sutou null+****@clear*****
Sun May 12 09:45:33 JST 2019


Kouhei Sutou	2019-05-12 09:45:33 +0900 (Sun, 12 May 2019)

  Revision: 5de86a9c6c0c1613d873dbea8a1dcbac02e21e20
  https://github.com/groonga/grntest/commit/5de86a9c6c0c1613d873dbea8a1dcbac02e21e20

  Message:
    Suppress warnings

  Modified files:
    lib/grntest/reporters/base-reporter.rb
    lib/grntest/test-runner.rb

  Modified: lib/grntest/reporters/base-reporter.rb (+3 -3)
===================================================================
--- lib/grntest/reporters/base-reporter.rb    2019-05-12 09:45:25 +0900 (33a11a0)
+++ lib/grntest/reporters/base-reporter.rb    2019-05-12 09:45:33 +0900 (0a6fd1c)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2016  Kouhei Sutou <kou****@clear*****>
+# Copyright (C) 2012-2019  Kouhei Sutou <kou****@clear*****>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -153,9 +153,9 @@ module Grntest
 
       def elapsed_time_status(elapsed_time)
         if long_elapsed_time?(elapsed_time)
-          elapsed_time_status = :failure
+          :failure
         else
-          elapsed_time_status = :not_checked
+          :not_checked
         end
       end
 

  Modified: lib/grntest/test-runner.rb (+1 -1)
===================================================================
--- lib/grntest/test-runner.rb    2019-05-12 09:45:25 +0900 (8671a6c)
+++ lib/grntest/test-runner.rb    2019-05-12 09:45:33 +0900 (70694b0)
@@ -730,7 +730,7 @@ http {
       case content
       when /\A(.*: fopen: failed to open mruby script file: )<(.+?)>?\z/
         pre = $1
-        path = $2
+        _path = $2
         "#{pre}<PATH>"
       else
         content
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190512/7c9c42ff/attachment.html>


More information about the Groonga-commit mailing list
Back to archive index