]> Repositorios git - scryer-prolog.git/commitdiff
correct tests #171 and #300
authorMark <[email protected]>
Mon, 3 Jul 2023 18:09:26 +0000 (12:09 -0600)
committerMark <[email protected]>
Mon, 3 Jul 2023 18:09:26 +0000 (12:09 -0600)
tests-pl/iso-conformity-tests.pl

index 40242fcaf6e3c5f14871dfea2a11af23f60b6e49..630b2baaa7f54129ac0ad7701a9090ecac0ddd2a 100644 (file)
@@ -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),