diff options
author | Li Jin <dragon-fly@qq.com> | 2025-03-23 17:27:59 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2025-03-23 17:27:59 +0800 |
commit | 577c2918290db5df573e8ce70470f13418dbcbc3 (patch) | |
tree | 7df030e329eb029af5fdc497ed775eed1c9e70df | |
parent | 08b68269ff6d6f868242dcefce75e1db26e4de61 (diff) | |
download | yuescript-577c2918290db5df573e8ce70470f13418dbcbc3.tar.gz yuescript-577c2918290db5df573e8ce70470f13418dbcbc3.tar.bz2 yuescript-577c2918290db5df573e8ce70470f13418dbcbc3.zip |
Added more test cases.v0.27.2
-rw-r--r-- | spec/inputs/global.yue | 7 | ||||
-rw-r--r-- | spec/outputs/global.lua | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/spec/inputs/global.yue b/spec/inputs/global.yue index 59cf764..ce1cc15 100644 --- a/spec/inputs/global.yue +++ b/spec/inputs/global.yue | |||
@@ -75,3 +75,10 @@ do | |||
75 | 75 | ||
76 | h = 100 | 76 | h = 100 |
77 | 77 | ||
78 | do | ||
79 | global x = y | ||
80 | global ^ | ||
81 | foobar = "all lowercase" | ||
82 | FooBar = "pascal case" | ||
83 | FOOBAR = "all uppercase" | ||
84 | |||
diff --git a/spec/outputs/global.lua b/spec/outputs/global.lua index 7e74387..54a21a9 100644 --- a/spec/outputs/global.lua +++ b/spec/outputs/global.lua | |||
@@ -87,3 +87,9 @@ do | |||
87 | end | 87 | end |
88 | local h = 100 | 88 | local h = 100 |
89 | end | 89 | end |
90 | do | ||
91 | x = y | ||
92 | local foobar = "all lowercase" | ||
93 | FooBar = "pascal case" | ||
94 | FOOBAR = "all uppercase" | ||
95 | end | ||