diff options
author | Li Jin <dragon-fly@qq.com> | 2023-07-02 16:47:12 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-07-02 16:47:12 +0800 |
commit | 7775f4c5b97dcc0d7e71a2cd8fb132f2b5bc1bd6 (patch) | |
tree | b980a68dfed0139d3e61b1477f52da783c6f610b /spec/outputs/string.lua | |
parent | 85a2da5cbbbbfb27f3b65ac67d083dd2443d223d (diff) | |
download | yuescript-0.17.5.tar.gz yuescript-0.17.5.tar.bz2 yuescript-0.17.5.zip |
fix issue https://github.com/leafo/moonscript/issues/448v0.17.5
Diffstat (limited to 'spec/outputs/string.lua')
-rw-r--r-- | spec/outputs/string.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/outputs/string.lua b/spec/outputs/string.lua index 87ecf2c..febea62 100644 --- a/spec/outputs/string.lua +++ b/spec/outputs/string.lua | |||
@@ -29,6 +29,7 @@ local c = "hello " .. tostring(5 + 1) | |||
29 | local d = tostring(hello(world)) | 29 | local d = tostring(hello(world)) |
30 | local e = tostring(1) .. " " .. tostring(2) .. " " .. tostring(3) | 30 | local e = tostring(1) .. " " .. tostring(2) .. " " .. tostring(3) |
31 | local f = [[hello #{world} world]] | 31 | local f = [[hello #{world} world]] |
32 | local g = "#{hello world}" | ||
32 | a = 'hello #{hello} hello' | 33 | a = 'hello #{hello} hello' |
33 | b = '#{hello} hello' | 34 | b = '#{hello} hello' |
34 | c = 'hello #{hello}' | 35 | c = 'hello #{hello}' |