mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Add extra coverage case, as we were missing a few lines.
The option extendedglobalexpr shaded string juxtaposition in globals.
This commit is contained in:
parent
8078be8401
commit
0959be94bc
1 changed files with 2 additions and 0 deletions
|
@ -183,6 +183,8 @@ class Test02Compiler(UnitTestCase):
|
|||
self.parser.constants['LISTCONST']=[1,2,3]
|
||||
print self.outscript.output(self.parser.parse('default{timer(){LISTCONST;}}'))
|
||||
|
||||
print self.outscript.output(self.parser.parse('''string s="1" "2";default{timer(){}}''',
|
||||
['allowmultistrings'])) # the one below doesn't work because it uses extended global expr.
|
||||
print self.outscript.output(self.parser.parse('''
|
||||
float f=2+2;
|
||||
string s = "1" "2";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue