Masafumi Yokoyama
null+****@clear*****
Sat Mar 28 01:16:43 JST 2015
Masafumi Yokoyama 2015-03-28 01:16:43 +0900 (Sat, 28 Mar 2015) New Revision: bc1549bf87222cd98408a0d0e8e6b2ef79e49b4c https://github.com/ranguba/rroonga/commit/bc1549bf87222cd98408a0d0e8e6b2ef79e49b4c Message: test: follow expr inspection format change for Groonga 5.0.1 Modified files: test/test-column.rb test/test-expression.rb Modified: test/test-column.rb (+14 -14) =================================================================== --- test/test-column.rb 2015-03-27 22:43:32 +0900 (7374994) +++ test/test-column.rb 2015-03-28 01:16:43 +0900 (43fd4b0) @@ -175,9 +175,9 @@ class ColumnTest < Test::Unit::TestCase $1:#<record:hash:Posts id:(no value)> }, codes:{ - 0:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>, - 1:<push(), modify:0, value:"drive">, - 2:<match(), modify:0, value:(NULL)> + 0:<get_value n_args:1, flags:0, modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>, + 1:<push n_args:1, flags:0, modify:0, value:"drive">, + 2:<match n_args:2, flags:0, modify:0, value:(NULL)> }> INSPECTED end @@ -214,9 +214,9 @@ class ColumnTest < Test::Unit::TestCase $1:#<record:hash:Posts id:(no value)> }, codes:{ - 0:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>, - 1:<push(), modify:0, value:"drive">, - 2:<match(), modify:0, value:(NULL)> + 0:<get_value n_args:1, flags:0, modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>, + 1:<push n_args:1, flags:0, modify:0, value:"drive">, + 2:<match n_args:2, flags:0, modify:0, value:(NULL)> }> INSPECTED end @@ -240,10 +240,10 @@ class ColumnTest < Test::Unit::TestCase $1:#<record:hash:Posts id:(no value)> }, codes:{ - 0:<push(), modify:0, value:#<record:hash:Posts id:(no value)>>, - 1:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>, - 2:<push(), modify:0, value:"drive">, - 3:<match(), modify:0, value:(NULL)> + 0:<push n_args:1, flags:0, modify:0, value:#<record:hash:Posts id:(no value)>>, + 1:<get_value n_args:1, flags:0, modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>, + 2:<push n_args:1, flags:0, modify:0, value:"drive">, + 3:<match n_args:2, flags:0, modify:0, value:(NULL)> }> INSPECTED end @@ -264,10 +264,10 @@ class ColumnTest < Test::Unit::TestCase $1:#<record:hash:Posts id:(no value)> }, codes:{ - 0:<push(), modify:1, value:#<record:hash:Posts id:(no value)>>, - 1:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>, - 2:<push(), modify:0, value:"drive">, - 3:<match(), modify:0, value:(NULL)> + 0:<push n_args:1, flags:0, modify:1, value:#<record:hash:Posts id:(no value)>>, + 1:<get_value n_args:2, flags:0, modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>, + 2:<push n_args:1, flags:0, modify:0, value:"drive">, + 3:<match n_args:2, flags:0, modify:0, value:(NULL)> }> INSPECTED end Modified: test/test-expression.rb (+13 -13) =================================================================== --- test/test-expression.rb 2015-03-27 22:43:32 +0900 (f9bc9f1) +++ test/test-expression.rb 2015-03-28 01:16:43 +0900 (d12ae10) @@ -82,9 +82,9 @@ class ExpressionTest < Test::Unit::TestCase vars:{ }, codes:{ - 0:<push(), modify:2, value:1>, - 1:<push(), modify:0, value:1>, - 2:<plus(), modify:0, value:(NULL)> + 0:<push n_args:1, flags:0, modify:2, value:1>, + 1:<push n_args:1, flags:0, modify:0, value:1>, + 2:<plus n_args:2, flags:0, modify:0, value:(NULL)> }> INSPECTED end @@ -175,7 +175,7 @@ class ExpressionTest < Test::Unit::TestCase vars:{ }, codes:{ - 0:<push(), modify:0, value:#<proc:tokenizer TokenBigram arguments:[$1, $2, $3]>> + 0:<push n_args:1, flags:0, modify:0, value:#<proc:tokenizer TokenBigram arguments:[$1, $2, $3]>> }> INSPECTED end @@ -187,7 +187,7 @@ class ExpressionTest < Test::Unit::TestCase vars:{ }, codes:{ - 0:<push(), modify:0, value:#<proc:tokenizer TokenBigram arguments:[$1, $2, $3]>> + 0:<push n_args:1, flags:0, modify:0, value:#<proc:tokenizer TokenBigram arguments:[$1, $2, $3]>> }> INSPECTED end @@ -208,7 +208,7 @@ class ExpressionTest < Test::Unit::TestCase vars:{ }, codes:{ - 0:<push(), modify:0, value:29> + 0:<push n_args:1, flags:0, modify:0, value:29> }> INSPECTED end @@ -220,7 +220,7 @@ class ExpressionTest < Test::Unit::TestCase vars:{ }, codes:{ - 0:<push(), modify:0, value:29> + 0:<push n_args:1, flags:0, modify:0, value:29> }> INSPECTED end @@ -242,9 +242,9 @@ class ExpressionTest < Test::Unit::TestCase vars:{ }, codes:{ - 0:<push(), modify:2, value:29>, - 1:<push(), modify:0, value:92>, - 2:<plus(), modify:0, value:(NULL)> + 0:<push n_args:1, flags:0, modify:2, value:29>, + 1:<push n_args:1, flags:0, modify:0, value:92>, + 2:<plus n_args:2, flags:0, modify:0, value:(NULL)> }> INSPECTED end @@ -256,9 +256,9 @@ class ExpressionTest < Test::Unit::TestCase vars:{ }, codes:{ - 0:<push(), modify:2, value:29>, - 1:<push(), modify:0, value:92>, - 2:<plus(), modify:0, value:(NULL)> + 0:<push n_args:1, flags:0, modify:2, value:29>, + 1:<push n_args:1, flags:0, modify:0, value:92>, + 2:<plus n_args:2, flags:0, modify:0, value:(NULL)> }> INSPECTED end -------------- next part -------------- HTML����������������������������... 다운로드