Navigation Menu

Skip to content

Commit

Permalink
html_untag: add a test for attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 26, 2013
1 parent 9d75c4d commit 234d102
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/command/suite/select/function/html_untag/attribute.expected
@@ -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."]]]]
11 changes: 11 additions & 0 deletions test/command/suite/select/function/html_untag/attribute.test
@@ -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

0 comments on commit 234d102

Please sign in to comment.