diff --git a/src/dscanner/analysis/always_curly.d b/src/dscanner/analysis/always_curly.d index 25500ea6..afd4ecc5 100644 --- a/src/dscanner/analysis/always_curly.d +++ b/src/dscanner/analysis/always_curly.d @@ -174,9 +174,9 @@ unittest }, sac); assertAutoFix(q{ - if(true) return; + if(true) return; // fix: if must be follow by a BlockStatement aka. { } }c, q{ - if(true) { return; } + if(true) { return; } // fix: if must be follow by a BlockStatement aka. { } }c, sac); stderr.writeln("Unittest for AlwaysCurly passed.");