Haruka Yoshihara
null+****@clear*****
Thu Dec 13 16:10:18 JST 2012
Haruka Yoshihara 2012-12-13 16:10:18 +0900 (Thu, 13 Dec 2012) New Revision: 7cdf3ca946df5e43eeaf6e044a08be82cbf9bf85 https://github.com/groonga/groonga-query-log/commit/7cdf3ca946df5e43eeaf6e044a08be82cbf9bf85 Log: test: remove needless group Modified files: test/test-analyzer.rb Modified: test/test-analyzer.rb (+2 -2) =================================================================== --- test/test-analyzer.rb 2012-12-13 16:09:49 +0900 (9e03677) +++ test/test-analyzer.rb 2012-12-13 16:10:18 +0900 (661834b) @@ -60,9 +60,9 @@ class AnalyzerTest < Test::Unit::TestCase end def normalize_time(json_string) - json_string = json_string.gsub(/(\"start_time\"):(\d+)/, + json_string = json_string.gsub(/(\"start_time\"):\d+/, "\\1:START_TIME") - json_string.gsub(/(\"last_time\"):(\d+)/, "\\1:LAST_TIME") + json_string.gsub(/(\"last_time\"):\d+/, "\\1:LAST_TIME") end def expected_analyzed_query(file_name) -------------- next part -------------- HTML����������������������������...Download