mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Uncomment more tests
This commit is contained in:
parent
b40b10826c
commit
843fa3e8e4
1 changed files with 7 additions and 7 deletions
|
@ -29,15 +29,15 @@ assertEq(`Welcome to {
|
|||
local nameNotConstantEvaluated = (function() return "Luau" end)()
|
||||
assertEq(`Welcome to {nameNotConstantEvaluated}!`, "Welcome to Luau!")
|
||||
|
||||
-- assertEq(`This {local} does not exist`, "This nil does not exist")
|
||||
assertEq(`This {localName} does not exist`, "This nil does not exist")
|
||||
|
||||
-- assertEq(`Welcome to \
|
||||
-- {name}!`, "Welcome to\nLuau!")
|
||||
assertEq(`Welcome to \
|
||||
{name}!`, "Welcome to \nLuau!")
|
||||
|
||||
-- assert(`Escaped brace: \{} ({1})` == "Escaped brace: { (1)")
|
||||
-- assert(`Backslash \ that escapes the space is not a part of the string... ({2})` == "Backslash that escapes the space is not a part of the string... (2)")
|
||||
-- assert(`Escaped backslash \\ ({3})` == "Escaped backslash \\ (3)")
|
||||
-- assert(`Escaped backtick: \` ({4})` == "Escaped backtick: ` (4)")
|
||||
assertEq(`Escaped brace: \{} ({1})`, "Escaped brace: {} (1)")
|
||||
assertEq(`Backslash \ that escapes the space is not a part of the string... ({2})`, "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")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue