From bcb14d7a22a90dda159350d76da8cdc459fe0428 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Mon, 21 Apr 2014 20:43:04 -0700 Subject: [PATCH] html.entities: add a test to show "&". --- extra/html/entities/entities-tests.factor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extra/html/entities/entities-tests.factor b/extra/html/entities/entities-tests.factor index 5e680f4fd1..a9cdbd1a4d 100644 --- a/extra/html/entities/entities-tests.factor +++ b/extra/html/entities/entities-tests.factor @@ -4,6 +4,8 @@ IN: html.entities { "&" } [ "&" html-unescape ] unit-test { "a" } [ "a" html-unescape ] unit-test { "" } [ "<foo>" html-unescape ] unit-test +{ "This &that" } [ "This &that" html-unescape ] unit-test +{ "This &that" } [ "This &that" html-unescape ] unit-test { "&" } [ "&" html-escape ] unit-test { "<foo>" } [ "" html-escape ] unit-test -- 2.34.1