Don't test gnc:html-string-sanitize on emoji if guile doesn't understand them.

Fixes test failures on guile 2.0.13 where SRFI64 is available but
Unicode is broken.
This commit is contained in:
John Ralls 2019-06-09 12:30:20 -07:00
parent aa3e46a60f
commit 59f9b7786d

View File

@ -25,6 +25,8 @@
"©"
(gnc:html-string-sanitize "©"))
(if (not (string=? (with-output-to-string (lambda () (display "🎃"))) "🎃"))
(test-skip 2))
(test-equal "emoji unchanged"
"🎃"
(gnc:html-string-sanitize "🎃"))