From 7d7ad6ba4654e0f5d5304e8edb7f8cce6ab7b2c9 Mon Sep 17 00:00:00 2001 From: Kampfkarren Date: Tue, 26 Jul 2022 18:42:59 -0700 Subject: [PATCH] Uncomment nested strings. I'm surprised this worked --- tests/conformance/stringinterp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conformance/stringinterp.lua b/tests/conformance/stringinterp.lua index 919cb568..135fbf1b 100644 --- a/tests/conformance/stringinterp.lua +++ b/tests/conformance/stringinterp.lua @@ -39,9 +39,9 @@ assertEq(`Backslash \ that escapes the space is not a part of the string... ({2} assertEq(`Escaped backslash \\ ({3})`, "Escaped backslash \\ (3)") assertEq(`Escaped backtick: \` ({4})`, "Escaped backtick: ` (4)") --- assert(`Hello {`from inside {"a nested string"}`}` == "Hello from inside a nested string") +assertEq(`Hello {`from inside {"a nested string"}`}`, "Hello from inside a nested string") --- assert(`1 {`2 {`3 {4}`}`}` == "1 2 3 4") +assertEq(`1 {`2 {`3 {4}`}`}`, "1 2 3 4") -- local health = 50 -- assert(`You have {health}% health` == "You have 50% health")