From 2b015ff750e3c0041b4f5d39b17b79a159055fde Mon Sep 17 00:00:00 2001 From: Roman Venediktov Date: Thu, 11 Jul 2024 15:02:08 +0200 Subject: [PATCH] Added test for escaping --- stdlib/regression/orig/test34.log | 2 ++ stdlib/regression/test34.lama | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 stdlib/regression/orig/test34.log create mode 100644 stdlib/regression/test34.lama diff --git a/stdlib/regression/orig/test34.log b/stdlib/regression/orig/test34.log new file mode 100644 index 000000000..3df549308 --- /dev/null +++ b/stdlib/regression/orig/test34.log @@ -0,0 +1,2 @@ + " ` % \ \r + \t \h @ $ # ; [ ] \ No newline at end of file diff --git a/stdlib/regression/test34.lama b/stdlib/regression/test34.lama new file mode 100644 index 000000000..6c8e3af04 --- /dev/null +++ b/stdlib/regression/test34.lama @@ -0,0 +1,3 @@ +var s = " "" ` % \ \r \n \t \h @ $ # ; [ ] "; + +printf ("%s", s)