Skip to content

Commit 878cfd7

Browse files
committed
C#: Use inline test expectations
1 parent 3483050 commit 878cfd7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

csharp/ql/test/query-tests/Linq/MissedSelectOpportunity/MissedSelectOpportunity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public void M1(List<int> lst)
1212
{
1313
int j = i * i;
1414
Console.WriteLine(j);
15-
}
15+
} // $ Alert
1616
}
1717

1818
public async Task M2(IEnumerable<ICounter> counters)
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Linq/MissedSelectOpportunity.ql
1+
query: Linq/MissedSelectOpportunity.ql
2+
postprocess: utils/test/InlineExpectationsTestQuery.ql

0 commit comments

Comments
 (0)