From 5fc15c112f3af9dd6c2dc101456450a325ec1fa5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 14 Sep 2020 20:32:48 +0200 Subject: [PATCH] :art: String now escaped by default. --- ast | 2 +- tests/interp/empty.gw | 2 +- tests/interp/exp.gw | 2 +- tests/interp/exp_lit.gw | 2 +- tests/interp/lit.gw | 2 +- tests/interp/to_string.gw | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ast b/ast index 0c6a1261..95aeae8c 160000 --- a/ast +++ b/ast @@ -1 +1 @@ -Subproject commit 0c6a126177389658ee1c04a807f77b7e48ad6a62 +Subproject commit 95aeae8c6dae2652dc092dd36bc0d9caa12a20a7 diff --git a/tests/interp/empty.gw b/tests/interp/empty.gw index 6be8f59e..025ed614 100644 --- a/tests/interp/empty.gw +++ b/tests/interp/empty.gw @@ -1 +1 @@ -<<< `` >>>; +<<< "" >>>; diff --git a/tests/interp/exp.gw b/tests/interp/exp.gw index dd295f44..48e267f9 100644 --- a/tests/interp/exp.gw +++ b/tests/interp/exp.gw @@ -1,3 +1,3 @@ #! [contains] Hello, interpolation! 1 1 => var int my; -<<< `Hello, interpolation! ${ my }` >>>; +<<< "Hello, interpolation! ${ my }" >>>; diff --git a/tests/interp/exp_lit.gw b/tests/interp/exp_lit.gw index 4348ea47..aee41c61 100644 --- a/tests/interp/exp_lit.gw +++ b/tests/interp/exp_lit.gw @@ -1,3 +1,3 @@ #! [contains] 1 Hello, interpolation! 1 => var int my; -<<< `${my} Hello, interpolation!` >>>; +<<< "${my} Hello, interpolation!" >>>; diff --git a/tests/interp/lit.gw b/tests/interp/lit.gw index 849b094e..68a9a5c0 100644 --- a/tests/interp/lit.gw +++ b/tests/interp/lit.gw @@ -1,2 +1,2 @@ #! [contains] Hello, interpolation! -<<< `Hello, interpolation!` >>>; +<<< "Hello, interpolation!" >>>; diff --git a/tests/interp/to_string.gw b/tests/interp/to_string.gw index 16e6ce21..eb827980 100644 --- a/tests/interp/to_string.gw +++ b/tests/interp/to_string.gw @@ -1,4 +1,4 @@ #! [contains] Hello, interpolation! 1 1 => var int my; -`Hello, interpolation! ${ my }` => var string s; +"Hello, interpolation! ${ my }" => var string s; <<< s >>>; -- 2.43.0