Fix #368
This commit is contained in:
parent
9395ecc508
commit
5a790b4d41
|
@ -23,7 +23,7 @@ class UselessAssertCheck : BaseAnalyzer
|
||||||
this(string fileName, bool skipTests = false)
|
this(string fileName, bool skipTests = false)
|
||||||
{
|
{
|
||||||
// assertions likely to be in unittest so never skip
|
// assertions likely to be in unittest so never skip
|
||||||
super(fileName, null, false);
|
super(fileName, null, skipTests);
|
||||||
}
|
}
|
||||||
|
|
||||||
override void visit(const AssertExpression ae)
|
override void visit(const AssertExpression ae)
|
||||||
|
|
Loading…
Reference in New Issue