aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-06-06 01:00:17 +0800
committerLi Jin <dragon-fly@qq.com>2022-06-06 01:00:17 +0800
commit4350d4b094c2c7202b7ad79d15187c1402bd13eb (patch)
treec79ef52141fc0aabfcf14ca8ee777eeddaa97329 /spec
parent10f5eb01bb90993c27b3adc60ac3c82ea0ff0b15 (diff)
parent8e546a5d26a6a19192caa4b56f3c0348e67bde2b (diff)
downloadyuescript-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.yue2
-rw-r--r--spec/outputs/string.lua1
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
33Fail to compile 33Fail to compile
34]] 34]]
35 35
36txt[ [[abc]]] = [["#{i}" for i = 1, 10] for i = 1, 10]]
37
36oo = "" 38oo = ""
37 39
38x = "\\" 40x = "\\"
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 = [[
17nil 17nil
18Fail to compile 18Fail to compile
19]] 19]]
20txt[ [[abc]]] = [["#{i}" for i = 1, 10] for i = 1, 10]]
20local oo = "" 21local oo = ""
21local x = "\\" 22local x = "\\"
22x = "a\\b" 23x = "a\\b"