Skip to content

Commit 5ddc378

Browse files
committed
C#: Update test expected output.
1 parent c439beb commit 5ddc378

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

csharp/ql/test/library-tests/csharp11/PrintAst.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ RequiredMembers.cs:
847847
# 40| 0: [Parameter] value
848848
Scoped.cs:
849849
# 1| [Struct] S1
850-
# 2| [Struct] S2
850+
# 2| [RefStruct] S2
851851
# 7| [Class] ScopedModifierTest
852852
# 9| 5: [Method] M1
853853
# 9| -1: [TypeMention] int
@@ -1402,7 +1402,7 @@ Strings.cs:
14021402
Struct.cs:
14031403
# 1| [NamespaceDeclaration] namespace ... { ... }
14041404
# 3| 1: [Class] MyEmptyClass
1405-
# 5| 2: [Struct] RefStruct
1405+
# 5| 2: [RefStruct] RefStruct
14061406
# 7| 5: [Field] MyInt
14071407
# 7| -1: [TypeMention] int
14081408
# 8| 6: [Field] MyByte

csharp/ql/test/library-tests/csharp7.2/PrintAst.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ csharp72.cs:
3030
# 26| 0: [FieldAccess] access to field s
3131
# 29| 7: [DelegateType] Del
3232
# 32| [Struct] ReadonlyStruct
33-
# 36| [Struct] RefStruct
34-
# 40| [Struct] ReadonlyRefStruct
33+
# 36| [RefStruct] RefStruct
34+
# 40| [RefStruct] ReadonlyRefStruct
3535
# 44| [Class] NumericLiterals
3636
# 46| 5: [Field] binaryValue
3737
# 46| -1: [TypeMention] int
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import csharp
22

3-
from Struct s
4-
where
5-
s.fromSource() and
6-
s.isRef()
3+
from RefStruct s
4+
where s.fromSource()
75
select s

0 commit comments

Comments
 (0)