Lines Matching refs:msg

171   let msg = "White space required before and after '?'"
172 call CheckDefAndScriptFailure(["var x = 1? 'one' : 'two'"], msg, 1)
173 call CheckDefAndScriptFailure(["var x = 1 ?'one' : 'two'"], msg, 1)
174 call CheckDefAndScriptFailure(["var x = 1?'one' : 'two'"], msg, 1)
182 let msg = "White space required before and after ':'"
183 call CheckDefAndScriptFailure(["var x = 1 ? 'one': 'two'"], msg, 1)
184 call CheckDefAndScriptFailure(["var x = 1 ? 'one' :'two'"], msg, 1)
185 call CheckDefAndScriptFailure(["var x = 1 ? 'one':'two'"], msg, 1)
240 var msg = "White space required before and after '??'"
241 call CheckDefAndScriptFailure(["var x = 1?? 'one' : 'two'"], msg, 1)
242 call CheckDefAndScriptFailure(["var x = 1 ??'one' : 'two'"], msg, 1)
243 call CheckDefAndScriptFailure(["var x = 1??'one' : 'two'"], msg, 1)
374 var msg = "White space required before and after '||'"
375 call CheckDefAndScriptFailure(["var x = 1||0"], msg, 1)
376 call CheckDefAndScriptFailure(["var x = 1 ||0"], msg, 1)
377 call CheckDefAndScriptFailure(["var x = 1|| 0"], msg, 1)
507 var msg = "White space required before and after '&&'"
508 CheckDefAndScriptFailure(["var x = 1&&0"], msg, 1)
509 CheckDefAndScriptFailure(["var x = 1 &&0"], msg, 1)
510 CheckDefAndScriptFailure(["var x = 1&& 0"], msg, 1)
1049 var msg = printf("E1004: White space required before and after '%s'", op)
1050 CheckDefAndScriptFailure(lines, msg, 2)
1066 let msg = "White space required before and after '>'"
1067 call CheckDefAndScriptFailure(["var x = 1>2"], msg, 1)
1068 call CheckDefAndScriptFailure(["var x = 1 >2"], msg, 1)
1069 call CheckDefAndScriptFailure(["var x = 1> 2"], msg, 1)
1071 let msg = "White space required before and after '=='"
1072 call CheckDefAndScriptFailure(["var x = 1==2"], msg, 1)
1073 call CheckDefAndScriptFailure(["var x = 1 ==2"], msg, 1)
1074 call CheckDefAndScriptFailure(["var x = 1== 2"], msg, 1)
1076 let msg = "White space required before and after 'is'"
1077 call CheckDefAndScriptFailure(["var x = '1'is'2'"], msg, 1)
1078 call CheckDefAndScriptFailure(["var x = '1' is'2'"], msg, 1)
1079 call CheckDefAndScriptFailure(["var x = '1'is '2'"], msg, 1)
1081 let msg = "White space required before and after 'isnot'"
1082 call CheckDefAndScriptFailure(["var x = '1'isnot'2'"], msg, 1)
1083 call CheckDefAndScriptFailure(["var x = '1' isnot'2'"], msg, 1)
1084 call CheckDefAndScriptFailure(["var x = '1'isnot '2'"], msg, 1)
1344 var msg = printf("E1004: White space required before and after '%s' at \"%s2\"", op, op)
1345 CheckDefAndScriptFailure(lines, msg, 2)
1393 let msg = "White space required before and after '+'"
1394 call CheckDefAndScriptFailure(["var x = 1+2"], msg, 1)
1395 call CheckDefAndScriptFailure(["var x = 1 +2"], msg, 1)
1396 call CheckDefAndScriptFailure(["var x = 1+ 2"], msg, 1)
1398 let msg = "White space required before and after '-'"
1399 call CheckDefAndScriptFailure(["var x = 1-2"], msg, 1)
1400 call CheckDefAndScriptFailure(["var x = 1 -2"], msg, 1)
1401 call CheckDefAndScriptFailure(["var x = 1- 2"], msg, 1)
1403 let msg = "White space required before and after '..'"
1404 call CheckDefAndScriptFailure(["var x = '1'..'2'"], msg, 1)
1405 call CheckDefAndScriptFailure(["var x = '1' ..'2'"], msg, 1)
1406 call CheckDefAndScriptFailure(["var x = '1'.. '2'"], msg, 1)
1605 let msg = "White space required before and after '*'"
1606 call CheckDefAndScriptFailure(["var x = 1*2"], msg, 1)
1607 call CheckDefAndScriptFailure(["var x = 1 *2"], msg, 1)
1608 call CheckDefAndScriptFailure(["var x = 1* 2"], msg, 1)
1610 let msg = "White space required before and after '/'"
1611 call CheckDefAndScriptFailure(["var x = 1/2"], msg, 1)
1612 call CheckDefAndScriptFailure(["var x = 1 /2"], msg, 1)
1613 call CheckDefAndScriptFailure(["var x = 1/ 2"], msg, 1)
1615 let msg = "White space required before and after '%'"
1616 call CheckDefAndScriptFailure(["var x = 1%2"], msg, 1)
1617 call CheckDefAndScriptFailure(["var x = 1 %2"], msg, 1)
1618 call CheckDefAndScriptFailure(["var x = 1% 2"], msg, 1)
1643 let msg = printf("E1004: White space required before and after '%s' at \"%s2\"", op, op)
1644 call CheckDefAndScriptFailure(lines, msg, 2)