[Groonga-commit] ranguba/rroonga at 35043bf [master] test: relax context ID pattern

Back to archive index
Kouhei Sutou null+****@clear*****
Sat May 11 07:15:52 JST 2019


Kouhei Sutou	2019-05-11 07:15:52 +0900 (Sat, 11 May 2019)

  Revision: 35043bf782cf4efcecd1f6217fe6a3d345a0cd76
  https://github.com/ranguba/rroonga/commit/35043bf782cf4efcecd1f6217fe6a3d345a0cd76

  Message:
    test: relax context ID pattern

  Modified files:
    test/test-query-logger.rb

  Modified: test/test-query-logger.rb (+2 -2)
===================================================================
--- test/test-query-logger.rb    2019-05-11 07:11:54 +0900 (b73c2b6f)
+++ test/test-query-logger.rb    2019-05-11 07:15:52 +0900 (17a579f1)
@@ -110,7 +110,7 @@ class QueryLoggerTest < Test::Unit::TestCase
       Groonga::QueryLogger.log("default")
       Groonga::QueryLogger.log("flags", :flags => "command")
       normalized_infos = infos.collect do |info|
-        info = info.gsub(/\A[a-fA-Z\d]+\|/,
+        info = info.gsub(/\A[a-zA-Z\d]+\|/,
                          "context_id|")
         info.gsub(/\|[\d]+ \z/,
                   "|timestamp ")
@@ -130,7 +130,7 @@ class QueryLoggerTest < Test::Unit::TestCase
       Groonga::QueryLogger.log("default")
       Groonga::QueryLogger.log("mark", :mark => ":")
       normalized_infos = infos.collect do |info|
-        info.gsub(/\A[a-fA-Z\d]+\|([^\d])?[\d]+ \z/,
+        info.gsub(/\A[a-zA-Z\d]+\|([^\d])?[\d]+ \z/,
                   "context_id|\\1timestamp ")
       end
       assert_equal([
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190511/12748181/attachment-0001.html>


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