[Groonga-commit] groonga/groonga at 44b7f45 [master] test: follow the new regexp behavior

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Sep 8 11:10:19 JST 2015


Kouhei Sutou	2015-09-08 11:10:19 +0900 (Tue, 08 Sep 2015)

  New Revision: 44b7f45c2f3dea377c5fc14bb101190bd3143657
  https://github.com/groonga/groonga/commit/44b7f45c2f3dea377c5fc14bb101190bd3143657

  Message:
    test: follow the new regexp behavior

  Modified files:
    test/unit/core/test-operator.c

  Modified: test/unit/core/test-operator.c (+3 -3)
===================================================================
--- test/unit/core/test-operator.c    2015-09-08 11:08:31 +0900 (1cfa86b)
+++ test/unit/core/test-operator.c    2015-09-08 11:10:19 +0900 (7dc0add)
@@ -609,8 +609,8 @@ test_exec_regexp_true(gconstpointer data)
   lhs_type = gcut_data_get_string(data, "lhs_type");
   rhs_type = gcut_data_get_string(data, "rhs_type");
 
-  set_text(&lhs, "Hello");
-  set_text(&rhs, "\\AHe");
+  set_text(&lhs, "hello");
+  set_text(&rhs, "\\Ahe");
   cut_assert_true(grn_operator_exec_regexp(context, &lhs, &rhs));
 }
 
@@ -637,7 +637,7 @@ test_exec_regexp_false(gconstpointer data)
   lhs_type = gcut_data_get_string(data, "lhs_type");
   rhs_type = gcut_data_get_string(data, "rhs_type");
 
-  set_text(&lhs, "Hello");
+  set_text(&lhs, "hello");
   set_text(&rhs, "llox\\z");
   cut_assert_false(grn_operator_exec_regexp(context, &lhs, &rhs));
 }
-------------- next part --------------
HTML����������������������������...
다운로드 



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