Commit e67a5df
committed
ErrorSuppressionTest::testSuppressFile(): fix bugs in test
This fixes two bugs in two test cases for the `testSuppressFile()` method:
1. The code snippet as was, contained a parse error (missing semi-colon after class instantiation).
2. The code snippet did not contain anything which would trigger the warning the test is looking for in the first place, so these two tests would always pass.1 parent 9165a9a commit e67a5df
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
| 754 | + | |
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| |||
761 | 761 | | |
762 | 762 | | |
763 | 763 | | |
764 | | - | |
| 764 | + | |
765 | 765 | | |
766 | 766 | | |
767 | 767 | | |
| |||
0 commit comments