Commit 32ecc58
committed
ErrorSuppressionTest: fix bug in testSuppressScope()
As the "no suppression" test would yield no errors, the test wasn't actually testing anything as there were no errors to suppress.
Fixed now by using a different sniff to test against, which does yield an error on the line being suppressed by the rest of the tests.1 parent f9dfb9b commit 32ecc58
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
593 | | - | |
594 | | - | |
| 593 | + | |
| 594 | + | |
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| |||
0 commit comments