Kouhei Sutou 2019-01-21 13:13:47 +0900 (Mon, 21 Jan 2019) Revision: 9024bd429ea58396812fdaa0e4d1cff50f769675 https://github.com/groonga/groonga-query-log/commit/9024bd429ea58396812fdaa0e4d1cff50f769675 Message: Simplify Modified files: test/command/test-format-regression-test-logs.rb Modified: test/command/test-format-regression-test-logs.rb (+1 -2) =================================================================== --- test/command/test-format-regression-test-logs.rb 2019-01-21 13:13:24 +0900 (091dc2c) +++ test/command/test-format-regression-test-logs.rb 2019-01-21 13:13:47 +0900 (1cbce08) @@ -119,7 +119,6 @@ Backtrace: options = {:output => output} command = GroongaQueryLog::Command::FormatRegressionTestLogs.new(options) command.run([fixture_path("command-format.log")]) - output.rewind expected = <<-OUTPUT Command: select Logs @@ -135,7 +134,7 @@ Arguments: - [2, "log message2"]]] + [3, "log message3"]]] OUTPUT - assert_equal(expected, output.read) + assert_equal(expected, output.string) end end end -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190121/41774c65/attachment.html>