diff options
author | Li Jin <dragon-fly@qq.com> | 2022-06-06 01:00:17 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-06-06 01:00:17 +0800 |
commit | 4350d4b094c2c7202b7ad79d15187c1402bd13eb (patch) | |
tree | c79ef52141fc0aabfcf14ca8ee777eeddaa97329 /spec | |
parent | 10f5eb01bb90993c27b3adc60ac3c82ea0ff0b15 (diff) | |
parent | 8e546a5d26a6a19192caa4b56f3c0348e67bde2b (diff) | |
download | yuescript-4350d4b094c2c7202b7ad79d15187c1402bd13eb.tar.gz yuescript-4350d4b094c2c7202b7ad79d15187c1402bd13eb.tar.bz2 yuescript-4350d4b094c2c7202b7ad79d15187c1402bd13eb.zip |
Merge branch 'main' of https://github.com/pigpigyyy/Yuescript
Diffstat (limited to 'spec')
-rw-r--r-- | spec/inputs/string.yue | 2 | ||||
-rw-r--r-- | spec/outputs/string.lua | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/spec/inputs/string.yue b/spec/inputs/string.yue index e21ae84..201e60d 100644 --- a/spec/inputs/string.yue +++ b/spec/inputs/string.yue | |||
@@ -33,6 +33,8 @@ nil | |||
33 | Fail to compile | 33 | Fail to compile |
34 | ]] | 34 | ]] |
35 | 35 | ||
36 | txt[ [[abc]]] = [["#{i}" for i = 1, 10] for i = 1, 10]] | ||
37 | |||
36 | oo = "" | 38 | oo = "" |
37 | 39 | ||
38 | x = "\\" | 40 | x = "\\" |
diff --git a/spec/outputs/string.lua b/spec/outputs/string.lua index 84b6700..87ecf2c 100644 --- a/spec/outputs/string.lua +++ b/spec/outputs/string.lua | |||
@@ -17,6 +17,7 @@ local txt = [[ | |||
17 | nil | 17 | nil |
18 | Fail to compile | 18 | Fail to compile |
19 | ]] | 19 | ]] |
20 | txt[ [[abc]]] = [["#{i}" for i = 1, 10] for i = 1, 10]] | ||
20 | local oo = "" | 21 | local oo = "" |
21 | local x = "\\" | 22 | local x = "\\" |
22 | x = "a\\b" | 23 | x = "a\\b" |