Browse Source

* Add tests for #41563

Michaël Van Canneyt 1 week ago
parent
commit
03ca69969c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fcl-json/tests/testjsonreader.pas

+ 2 - 0
packages/fcl-json/tests/testjsonreader.pas

@@ -325,6 +325,8 @@ begin
   DoTestString('A string');
   DoTestString('A string');
   DoTestString('');
   DoTestString('');
   DoTestString('\"','"');
   DoTestString('\"','"');
+  DoTestString('a\\','a\');
+  DoTestString('C:\\Windows','C:\Windows');
   DoTestString('\u00f8','ø'); // this is ø
   DoTestString('\u00f8','ø'); // this is ø
   DoTestString('\u00f8\"','ø"'); // this is ø"
   DoTestString('\u00f8\"','ø"'); // this is ø"
   DoTestString('\ud83c\udf1f',GlowingStar);
   DoTestString('\ud83c\udf1f',GlowingStar);