[Groonga-commit] ranguba/rroonga at 731ed2f [master] test: use meaningful value

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Sat Apr 11 22:55:47 JST 2015


Kouhei Sutou	2015-04-11 22:55:47 +0900 (Sat, 11 Apr 2015)

  New Revision: 731ed2fe6d3718da9eb0ff912ce31909487dbb6d
  https://github.com/ranguba/rroonga/commit/731ed2fe6d3718da9eb0ff912ce31909487dbb6d

  Message:
    test: use meaningful value
    
    "column" as literal is strange.

  Modified files:
    test/test-operator.rb

  Modified: test/test-operator.rb (+2 -2)
===================================================================
--- test/test-operator.rb    2015-04-09 10:27:44 +0900 (a8b4b8d)
+++ test/test-operator.rb    2015-04-11 22:55:47 +0900 (87e773e)
@@ -24,7 +24,7 @@ class OperatorTest < Test::Unit::TestCase
     setup
     def setup_expression
       @expression = Groonga::Expression.new
-      @expression.append_constant("column")
+      @expression.append_constant("Alice")
       @expression.append_constant(/\A[aA].*l/.source)
     end
 
@@ -35,7 +35,7 @@ class OperatorTest < Test::Unit::TestCase
   vars:{
   },
   codes:{
-    0:<push n_args:1, flags:0, modify:2, value:"column">,
+    0:<push n_args:1, flags:0, modify:2, value:"Alice">,
     1:<push n_args:1, flags:0, modify:0, value:"\\\\A[aA].*l">,
     2:<regexp n_args:2, flags:0, modify:0, value:(NULL)>
   }>
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index