[Groonga-commit] groonga/groonga-query-log at d36fc34 [master] Simplify

Back to archive index
Kouhei Sutou null+****@clear*****
Mon Jan 21 13:11:51 JST 2019


Kouhei Sutou	2019-01-21 13:11:51 +0900 (Mon, 21 Jan 2019)

  Revision: d36fc34241c45fddb84a036a5d0e8e8fd680ba56
  https://github.com/groonga/groonga-query-log/commit/d36fc34241c45fddb84a036a5d0e8e8fd680ba56

  Message:
    Simplify

  Modified files:
    test/command/test-format-regression-test-logs.rb

  Modified: test/command/test-format-regression-test-logs.rb (+2 -2)
===================================================================
--- test/command/test-format-regression-test-logs.rb    2019-01-21 13:08:30 +0900 (b46df0f)
+++ test/command/test-format-regression-test-logs.rb    2019-01-21 13:11:51 +0900 (d454b84)
@@ -113,8 +113,8 @@ Backtrace:
   def test_output_option
     output = StringIO.new("output-option")
     options = {:output => output}
-    @command = GroongaQueryLog::Command::FormatRegressionTestLogs.new(options)
-    run_command([fixture_path("command-format.log")])
+    command = GroongaQueryLog::Command::FormatRegressionTestLogs.new(options)
+    command.run([fixture_path("command-format.log")])
     output.rewind
     expected = <<-OUTPUT
 Command:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190121/32229343/attachment-0001.html>


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