],
[ "if(1)/a /g.exec('Pa ss');", "if(1)/a /g.exec('Pa ss');" ],
- // newline insertion after 1000 chars: break after the "++", not before
- [ str_repeat( ';', 996 ) . "if(x++);", str_repeat( ';', 996 ) . "if(x++\n);" ],
-
// Unicode letter characters should pass through ok in identifiers (T33187)
[ "var KaŝSkatolVal = {}", 'var KaŝSkatolVal={}' ],
';',
],
],
+ [
+ // Must not break before '++'
+ 'if(x++);',
+ [
+ 'if',
+ '(',
+ 'x++',
+ ')',
+ ';',
+ ],
+ ],
[
// Regression test for T201606.
// Must not break between 'return' and Expression.