Navigation Menu

Skip to content

Commit

Permalink
test: use meaningful values
Browse files Browse the repository at this point in the history
GitHub: #65
  • Loading branch information
Masafumi Yokoyama committed Apr 8, 2015
1 parent 6078566 commit 951581f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/test-operator.rb
Expand Up @@ -24,8 +24,8 @@ class RegexpTest < self
setup
def setup_expression
@expression = Groonga::Expression.new
@expression.append_constant(39)
@expression.append_constant(93)
@expression.append_constant("column")
@expression.append_constant(/\A[aA].*l/.source)
end

def test_constant
Expand All @@ -35,8 +35,8 @@ def test_constant
vars:{
},
codes:{
0:<push n_args:1, flags:0, modify:2, value:39>,
1:<push n_args:1, flags:0, modify:0, value:93>,
0:<push n_args:1, flags:0, modify:2, value:"column">,
1:<push n_args:1, flags:0, modify:0, value:"\\\\A[aA].*l">,
2:<regexp n_args:2, flags:0, modify:0, value:(NULL)>
}>
INSPECTED
Expand All @@ -49,8 +49,8 @@ def test_name
vars:{
},
codes:{
0:<push n_args:1, flags:0, modify:2, value:39>,
1:<push n_args:1, flags:0, modify:0, value:93>,
0:<push n_args:1, flags:0, modify:2, value:"column">,
1:<push n_args:1, flags:0, modify:0, value:"\\\\A[aA].*l">,
2:<regexp n_args:2, flags:0, modify:0, value:(NULL)>
}>
INSPECTED
Expand Down

0 comments on commit 951581f

Please sign in to comment.