]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/io/encodings/detect/detect-tests.factor
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping ...
[factor.git] / extra / io / encodings / detect / detect-tests.factor
index 35751ef7f19c807987b9c3ef9a1f54ec84862daf..1069af2420b01fea4c7ffc5f1508b52917eef733 100644 (file)
@@ -14,19 +14,19 @@ IN: io.encodings.detect.tests
 
 ! XML prolog
 { utf8 }
-[ """<?xml version="1.0"?>""" >byte-array detect-byte-array ]
+[ "<?xml version=\"1.0\"?>" >byte-array detect-byte-array ]
 unit-test
 
 { utf8 }
-[ """<?xml version="1.0" encoding="UTF-8"?>""" >byte-array detect-byte-array ]
+[ "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" >byte-array detect-byte-array ]
 unit-test
 
 { latin1 }
-[ """<?xml version='1.0' encoding='ISO-8859-1'?>""" >byte-array detect-byte-array ]
+[ "<?xml version='1.0' encoding='ISO-8859-1'?>" >byte-array detect-byte-array ]
 unit-test
 
 { latin1 }
-[ """<?xml version='1.0' encoding="ISO-8859-1" """ >byte-array detect-byte-array ]
+[ "<?xml version='1.0' encoding=\"ISO-8859-1\" " >byte-array detect-byte-array ]
 unit-test
 
 ! Default to utf8 if decoding succeeds and there are no nulls