Haruka Yoshihara
null+****@clear*****
Thu Dec 13 17:42:37 JST 2012
Haruka Yoshihara 2012-12-13 17:42:37 +0900 (Thu, 13 Dec 2012) New Revision: dd78bc981665598c4fbeb1bf9b96661c74324c4c https://github.com/groonga/groonga-query-log/commit/dd78bc981665598c4fbeb1bf9b96661c74324c4c Log: test: move expected results for "--output" option to fixture/output/ Modified files: test/test-analyzer.rb Renamed files: test/fixtures/output/console.expected (from test/fixtures/console.expected) test/fixtures/output/html.expected (from test/fixtures/html.expected) test/fixtures/output/json.expected (from test/fixtures/json.expected) Renamed: test/fixtures/output/console.expected (+0 -0) 100% =================================================================== Renamed: test/fixtures/output/html.expected (+0 -0) 100% =================================================================== Renamed: test/fixtures/output/json.expected (+0 -0) 100% =================================================================== Modified: test/test-analyzer.rb (+1 -1) =================================================================== --- test/test-analyzer.rb 2012-12-13 17:33:52 +0900 (4820181) +++ test/test-analyzer.rb 2012-12-13 17:42:37 +0900 (26fda94) @@ -49,7 +49,7 @@ class AnalyzerTest < Test::Unit::TestCase actual_result = run_analyzer("--reporter", output_type, @query_log_path) actual_result = normalize_json(actual_result) if output_type == "json" - expected_result = expected_analyzed_query("#{output_type}.expected") + expected_result = expected_analyzed_query("output/#{output_type}.expected") assert_equal(expected_result, actual_result) end -------------- next part -------------- HTML����������������������������...Download