Fix test case that was broken since 2b14acc

This commit is contained in:
Sei Lisa 2018-06-07 02:13:26 +02:00
parent 33fc38e42d
commit fa73348dc6

View file

@ -462,7 +462,7 @@ class Test03_Optimizer(UnitTestCase):
self.opt.optimize(p)
out = self.outscript.output(p)
self.assertEqual(out, 'key k = "blah";\nlist L = [k, "xxxx", 1.];\n'
'float f = 0;\ninteger i;\nvector v = <0, 3, 4>;\n'
'float f = 0;\ninteger i;\nvector v = <f,3,4>;\n'
'default\n{\n timer()\n {\n'
' f = 4;\n k = "";\n i = 0;\n'
' v = <((float)0), ((float)0), ((float)0)>;\n L = [];\n'