Navigation Menu

Skip to content

Commit

Permalink
test: use meaningful value
Browse files Browse the repository at this point in the history
"column" as literal is strange.
  • Loading branch information
kou committed Apr 11, 2015
1 parent 1cc7332 commit 731ed2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-operator.rb
Expand Up @@ -24,7 +24,7 @@ class RegexpTest < self
setup
def setup_expression
@expression = Groonga::Expression.new
@expression.append_constant("column")
@expression.append_constant("Alice")
@expression.append_constant(/\A[aA].*l/.source)
end

Expand All @@ -35,7 +35,7 @@ def test_constant
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)>
}>
Expand Down

0 comments on commit 731ed2f

Please sign in to comment.