This commit is contained in:
Hackerpilot 2016-07-27 12:21:51 -07:00
parent 9395ecc508
commit 5a790b4d41
1 changed files with 6 additions and 6 deletions

View File

@ -19,12 +19,12 @@ class UselessAssertCheck : BaseAnalyzer
{
alias visit = BaseAnalyzer.visit;
///
this(string fileName, bool skipTests = false)
{
// assertions likely to be in unittest so never skip
super(fileName, null, false);
}
///
this(string fileName, bool skipTests = false)
{
// assertions likely to be in unittest so never skip
super(fileName, null, skipTests);
}
override void visit(const AssertExpression ae)
{