Skip to content

Commit 1d8d712

Browse files
committed
C#: Remove expanded assignments from tests.
1 parent 6e4ef50 commit 1d8d712

File tree

4 files changed

+2
-30
lines changed

4 files changed

+2
-30
lines changed

csharp/ql/test/library-tests/assignments/AssignOperationExpanded.expected

Lines changed: 0 additions & 3 deletions
This file was deleted.

csharp/ql/test/library-tests/assignments/AssignOperationExpanded.ql

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
nullcoalescing
2-
| NullCoalescingAssignment.cs:8:9:8:18 | ... ?? ... |
32
| NullableRefTypes.cs:94:17:94:25 | ... ?? ... |
43
assignments
5-
| NullCoalescingAssignment.cs:8:9:8:18 | ... ??= ... | NullCoalescingAssignment.cs:8:9:8:18 | ... = ... |
4+
| NullCoalescingAssignment.cs:8:9:8:18 | ... ??= ... |

csharp/ql/test/library-tests/csharp8/NullCoalescingAssignment.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ import csharp
22

33
query predicate nullcoalescing(NullCoalescingExpr expr) { any() }
44

5-
query predicate assignments(AssignCoalesceExpr expr, Expr expanded) {
6-
expanded = expr.getExpandedAssignment()
7-
}
5+
query predicate assignments(AssignCoalesceExpr expr) { any() }

0 commit comments

Comments
 (0)