Commit 4a681b9
authored
[[FIX]] Limit "Too many Errors" (E043) to errors only (#3562)
* [[FIX]] Ignore warnings when testing for maxerr
Makes the E043 condition trigger only for errors and not warnings
Closes #3444
* [[DOCS]] update maxerr description
This updates maxerr doc to reflect that only errors are considered
* [[TEST]] update tests to reflect maxerr ignoring warnings
Update testRawOnError, insideEval in core and restOperatorWithoutIdentifier in parser tests to reflect maxerr no longer counting in warnings.
* add braces to maintain coding style
* [[TEST]] add test to check maxerr triggering on warnings
This modifies testRawOnError to make sure maxerr constrain is applied on errors.
This adds testRawOnWarning to make sure maxerr constrain does not count warnings.1 parent fddcd02 commit 4a681b9
4 files changed
Lines changed: 21 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
| 427 | + | |
427 | 428 | | |
428 | | - | |
| 429 | + | |
429 | 430 | | |
430 | 431 | | |
431 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
823 | | - | |
| 823 | + | |
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
425 | 425 | | |
426 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
427 | 435 | | |
428 | 436 | | |
429 | 437 | | |
| |||
472 | 480 | | |
473 | 481 | | |
474 | 482 | | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | 483 | | |
482 | 484 | | |
483 | 485 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9142 | 9142 | | |
9143 | 9143 | | |
9144 | 9144 | | |
9145 | | - | |
| 9145 | + | |
| 9146 | + | |
| 9147 | + | |
| 9148 | + | |
| 9149 | + | |
| 9150 | + | |
| 9151 | + | |
| 9152 | + | |
9146 | 9153 | | |
9147 | 9154 | | |
9148 | 9155 | | |
| |||
0 commit comments