From 0959be94bc3fd711c7d9c669478bf86f599404c0 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Sat, 26 Jul 2014 04:51:35 +0200 Subject: [PATCH] Add extra coverage case, as we were missing a few lines. The option extendedglobalexpr shaded string juxtaposition in globals. --- testparser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testparser.py b/testparser.py index 5999358..e8b93e2 100644 --- a/testparser.py +++ b/testparser.py @@ -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";