diff --git a/csharp/ql/test/query-tests/EmptyBlock/EmptyBlock.cs b/csharp/ql/test/query-tests/EmptyBlock/EmptyBlock.cs index b3e0cff6ae30..de4e9c28a976 100644 --- a/csharp/ql/test/query-tests/EmptyBlock/EmptyBlock.cs +++ b/csharp/ql/test/query-tests/EmptyBlock/EmptyBlock.cs @@ -29,7 +29,6 @@ static void Method(string[] args) // OK - comment if (true) { - // comment } // OK - not empty @@ -47,5 +46,11 @@ static void Method(string[] args) for (int i = 0; i < 10;) { } + + // BAD + if (true) + { + // comment + } } }