From: Mark Date: Mon, 3 Jul 2023 18:09:26 +0000 (-0600) Subject: correct tests #171 and #300 X-Git-Tag: v0.9.2~95^2~1 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=f5e7573bd6078b56a7533f198a8a666c28fa6608;p=scryer-prolog.git correct tests #171 and #300 --- diff --git a/tests-pl/iso-conformity-tests.pl b/tests-pl/iso-conformity-tests.pl index 40242fca..630b2baa 100644 --- a/tests-pl/iso-conformity-tests.pl +++ b/tests-pl/iso-conformity-tests.pl @@ -753,12 +753,12 @@ test_194 :- op(0,xfy,.), test_170 :- set_prolog_flag(double_quotes,chars). test_171 :- writeq_term_to_chars("a", C), - C == "\"a\"". + C == "[a]". test_229 :- test_syntax_error("\"\\z.\"", syntax_error(missing_quote)). test_300 :- writeq_term_to_chars("\0\", C), - C == "\"\\x0\\\"". + C == "['\\x0\\']". test_172 :- X is 10.0** -323, writeq_term_to_chars(X, C),