[Groonga-commit] groonga/groonga at 57591fc [master] test: simplify

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Sep 3 12:37:45 JST 2018


Kouhei Sutou	2018-09-03 12:37:45 +0900 (Mon, 03 Sep 2018)

  Revision: 57591fc46c3215d8df0236d2ba65a842f992ed04
  https://github.com/groonga/groonga/commit/57591fc46c3215d8df0236d2ba65a842f992ed04

  Message:
    test: simplify

  Modified files:
    test/command/suite/select/filter/regexp/negative_lookahead.expected
    test/command/suite/select/filter/regexp/negative_lookahead.test

  Modified: test/command/suite/select/filter/regexp/negative_lookahead.expected (+1 -1)
===================================================================
--- test/command/suite/select/filter/regexp/negative_lookahead.expected    2018-09-03 12:29:11 +0900 (7f21952b4)
+++ test/command/suite/select/filter/regexp/negative_lookahead.expected    2018-09-03 12:37:45 +0900 (2184e1b49)
@@ -8,7 +8,7 @@ load --table Memos
 {"_key": "2", "content": "mruby"}
 ]
 [[0,0.0,0.0],2]
-select Memos --filter 'content @~ "^(?!.*Groonga).*$\"'
+select Memos --filter 'content @~ "(?!Groonga).+"'
 [
   [
     0,

  Modified: test/command/suite/select/filter/regexp/negative_lookahead.test (+1 -1)
===================================================================
--- test/command/suite/select/filter/regexp/negative_lookahead.test    2018-09-03 12:29:11 +0900 (398099359)
+++ test/command/suite/select/filter/regexp/negative_lookahead.test    2018-09-03 12:37:45 +0900 (6c3018428)
@@ -5,4 +5,4 @@ load --table Memos
 {"_key": "1", "content": "Groonga"},
 {"_key": "2", "content": "mruby"}
 ]
-select Memos --filter 'content @~ "^(?!.*Groonga).*$\"'
+select Memos --filter 'content @~ "(?!Groonga).+"'
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180903/39567da8/attachment.htm 



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