gnucash maint: Don't test gnc:html-string-sanitize on emoji if guile doesn't understand them.
John Ralls
jralls at code.gnucash.org
Sun Jun 9 15:35:05 EDT 2019
Updated via https://github.com/Gnucash/gnucash/commit/59f9b778 (commit)
from https://github.com/Gnucash/gnucash/commit/aa3e46a6 (commit)
commit 59f9b7786d8c0359d148b96968d6ae1ccf5f743c
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jun 9 12:30:20 2019 -0700
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.
diff --git a/gnucash/report/report-system/test/test-html-utilities-srfi64.scm b/gnucash/report/report-system/test/test-html-utilities-srfi64.scm
index ef712c7ac..cdc0849c9 100644
--- a/gnucash/report/report-system/test/test-html-utilities-srfi64.scm
+++ b/gnucash/report/report-system/test/test-html-utilities-srfi64.scm
@@ -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 "ð"))
Summary of changes:
gnucash/report/report-system/test/test-html-utilities-srfi64.scm | 2 ++
1 file changed, 2 insertions(+)
More information about the gnucash-changes
mailing list