Add extra coverage case, as we were missing a few lines.

The option extendedglobalexpr shaded string juxtaposition in globals.
This commit is contained in:
Sei Lisa 2014-07-26 04:51:35 +02:00
parent 8078be8401
commit 0959be94bc

View file

@ -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";