summaryrefslogtreecommitdiff
path: root/tests/it_html.t
diff options
context:
space:
mode:
authorChristian Weber2012-03-30 16:13:15 +0000
committerChristian Weber2012-03-30 16:13:15 +0000
commita60fb69ff8e7755ab969298ab85a2b63bbcc8b14 (patch)
tree47d96fe5d0e180c4dcac6cd18786ce640592ad6a /tests/it_html.t
parent774527b9dc1c6db1b0782510b650c960c596ac1c (diff)
downloaditools-a60fb69ff8e7755ab969298ab85a2b63bbcc8b14.tar.gz
itools-a60fb69ff8e7755ab969298ab85a2b63bbcc8b14.tar.bz2
itools-a60fb69ff8e7755ab969298ab85a2b63bbcc8b14.zip
add GREEN HEART unit test for it_html::fix_encoding()
Diffstat (limited to 'tests/it_html.t')
-rwxr-xr-xtests/it_html.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/it_html.t b/tests/it_html.t
index 770d11a..2323e5e 100755
--- a/tests/it_html.t
+++ b/tests/it_html.t
@@ -181,4 +181,6 @@ is(it_html::fix_encoding(utf8_encode("é»"), true), "é»", "it_html::fix_encod
is(it_html::fix_encoding(utf8_decode("Müller"), true), "Müller", "it_html::fix_encoding incorrectly encoded latin1");
+is(it_html::fix_encoding("a💚b"), "a💚b", "it_html::fix_encoding incorrectly encoded GREEN HEART");
+
?>