diff options
| author | Teddy Wing | 2014-11-13 05:36:11 -0500 |
|---|---|---|
| committer | Teddy Wing | 2014-11-13 05:36:57 -0500 |
| commit | 19b9635a6c7ca83933150923b91759a2f0972343 (patch) | |
| tree | bab3e5563e893e6b439e559316bba37181086496 | |
| parent | 4d7bc0f5899a74db328b779f7a7d5ad3ffa57831 (diff) | |
| download | unXHTMLify-19b9635a6c7ca83933150923b91759a2f0972343.tar.bz2 | |
unxhtmlify_test.go: Add a couple more test cases
Expose some failures with more test cases.
| -rw-r--r-- | unxhtmlify_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unxhtmlify_test.go b/unxhtmlify_test.go index ac6ab38..9c980a8 100644 --- a/unxhtmlify_test.go +++ b/unxhtmlify_test.go @@ -7,6 +7,8 @@ func TestUnxhtmlifyLine(t *testing.T) { input, expected string }{ { "<br />", "<br>" }, + { "<span>Bender / Flexo</span>", "<span>Bender / Flexo</span>" }, + { "<img src=\"farnsworth-paradox.jpg\" alt=\"Parabox\"/>", "<img src=\"farnsworth-paradox.jpg\" alt=\"Parabox\">" }, } for _, c := range tests { |
