Skip to content

Commit 29fae50

Browse files
committed
REMOVE AGAIN: Example of empty blocks.
1 parent 84df8f9 commit 29fae50

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

csharp/ql/test/query-tests/EmptyBlock/EmptyBlock.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ static void Method(string[] args)
2929
// OK - comment
3030
if (true)
3131
{
32-
// comment
3332
}
3433

3534
// OK - not empty
@@ -47,5 +46,11 @@ static void Method(string[] args)
4746
for (int i = 0; i < 10;)
4847
{
4948
}
49+
50+
// BAD
51+
if (true)
52+
{
53+
// comment
54+
}
5055
}
5156
}

0 commit comments

Comments
 (0)