mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
aa3e46a60f
commit
59f9b7786d
@ -25,6 +25,8 @@
|
|||||||
"©"
|
"©"
|
||||||
(gnc:html-string-sanitize "©"))
|
(gnc:html-string-sanitize "©"))
|
||||||
|
|
||||||
|
(if (not (string=? (with-output-to-string (lambda () (display "🎃"))) "🎃"))
|
||||||
|
(test-skip 2))
|
||||||
(test-equal "emoji unchanged"
|
(test-equal "emoji unchanged"
|
||||||
"🎃"
|
"🎃"
|
||||||
(gnc:html-string-sanitize "🎃"))
|
(gnc:html-string-sanitize "🎃"))
|
||||||
|
Loading…
Reference in New Issue
Block a user