Kouhei Sutou
null+****@clear*****
Wed Jun 26 18:00:06 JST 2013
Kouhei Sutou 2013-06-26 18:00:06 +0900 (Wed, 26 Jun 2013) New Revision: 234d102fa71af387a2f3e82077771c04c48df3a3 https://github.com/groonga/groonga/commit/234d102fa71af387a2f3e82077771c04c48df3a3 Message: html_untag: add a test for attribute Added files: test/command/suite/select/function/html_untag/attribute.expected test/command/suite/select/function/html_untag/attribute.test Added: test/command/suite/select/function/html_untag/attribute.expected (+11 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/function/html_untag/attribute.expected 2013-06-26 18:00:06 +0900 (8799ae6) @@ -0,0 +1,11 @@ +table_create Entries TABLE_NO_KEY +[[0,0.0,0.0],true] +column_create Entries content COLUMN_SCALAR Text +[[0,0.0,0.0],true] +load --table Entries +[ +{"content": "I <em class=\"important\">am</em> a boy."} +] +[[0,0.0,0.0],1] +select Entries --output_columns "html_untag(content)" --command_version 2 +[[0,0.0,0.0],[[[1],[["html_untag","null"]],["I am a boy."]]]] Added: test/command/suite/select/function/html_untag/attribute.test (+11 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/function/html_untag/attribute.test 2013-06-26 18:00:06 +0900 (25918cd) @@ -0,0 +1,11 @@ +table_create Entries TABLE_NO_KEY +column_create Entries content COLUMN_SCALAR Text + +load --table Entries +[ +{"content": "I <em class=\"important\">am</em> a boy."} +] + +select Entries \ + --output_columns "html_untag(content)" \ + --command_version 2 -------------- next part -------------- HTML����������������������������... 下载