Kouhei Sutou
null+****@clear*****
Tue Dec 10 19:09:36 JST 2013
Kouhei Sutou 2013-12-10 19:09:36 +0900 (Tue, 10 Dec 2013) New Revision: 3bf0b6e4a6663465c924f91cf21ddaba56053884 https://github.com/droonga/drntest/commit/3bf0b6e4a6663465c924f91cf21ddaba56053884 Message: Use "formatted_" instead of "_pretty" Modified files: lib/drntest/test-runner.rb Modified: lib/drntest/test-runner.rb (+4 -4) =================================================================== --- lib/drntest/test-runner.rb 2013-12-10 19:08:53 +0900 (a8e2b6e) +++ lib/drntest/test-runner.rb 2013-12-10 19:09:36 +0900 (20a474e) @@ -211,11 +211,11 @@ module Drntest end def show_diff(expecteds, actuals) - expected_pretty = format_results(expecteds) - actual_pretty = format_results(actuals) + formatted_expected = format_results(expecteds) + formatted_actual = format_results(actuals) - create_temporary_file("expected", expected_pretty) do |expected_file| - create_temporary_file("actual", actual_pretty) do |actual_file| + create_temporary_file("expected", formatted_expected) do |expected_file| + create_temporary_file("actual", formatted_actual) do |actual_file| diff_options = [ "-u", "--label", "(expected)", expected_file.path, -------------- next part -------------- HTML����������������������������... 下载