aboutsummaryrefslogtreecommitdiffstats
path: root/unxhtmlify_test.go
diff options
context:
space:
mode:
authorTeddy Wing2014-11-14 20:32:37 -0500
committerTeddy Wing2014-11-14 20:32:37 -0500
commit02b458085c75faa2e8349f9cba4af9a53c00e798 (patch)
tree7446e22a3c547760a10fa8eb8148909fe7d998e5 /unxhtmlify_test.go
parent19b9635a6c7ca83933150923b91759a2f0972343 (diff)
downloadunXHTMLify-02b458085c75faa2e8349f9cba4af9a53c00e798.tar.bz2
unxhtmlify_test.go: Add a few more test cases
Diffstat (limited to 'unxhtmlify_test.go')
-rw-r--r--unxhtmlify_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/unxhtmlify_test.go b/unxhtmlify_test.go
index 9c980a8..9ac238d 100644
--- a/unxhtmlify_test.go
+++ b/unxhtmlify_test.go
@@ -9,6 +9,9 @@ func TestUnxhtmlifyLine(t *testing.T) {
{ "<br />", "<br>" },
{ "<span>Bender / Flexo</span>", "<span>Bender / Flexo</span>" },
{ "<img src=\"farnsworth-paradox.jpg\" alt=\"Parabox\"/>", "<img src=\"farnsworth-paradox.jpg\" alt=\"Parabox\">" },
+ { "some-class-name\" />", "some-class-name\">" },
+ { "/>", ">" },
+ { " />", " >" },
}
for _, c := range tests {