Skip to content

Commit 80513d8

Browse files
committed
C#: Update PrintAst test expected outputs.
1 parent ff32cf9 commit 80513d8

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ constructors.cs:
2525
# 23| -1: [TypeMention] object
2626
# 23| 1: [Parameter] s
2727
# 23| -1: [TypeMention] string
28-
# 23| 4: [BlockStmt] {...}
2928
# 25| 5: [InstanceConstructor] C1
3029
#-----| 2: (Parameters)
3130
# 25| 0: [Parameter] o
@@ -48,4 +47,3 @@ constructors.cs:
4847
# 28| 3: [ConstructorInitializer] call to constructor C1
4948
# 28| 0: [ParameterAccess] access to parameter o
5049
# 28| 1: [ParameterAccess] access to parameter s
51-
# 28| 4: [BlockStmt] {...}

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,6 @@ Record.cs:
884884
# 27| -1: [TypeMention] string
885885
# 27| 1: [Parameter] LastName
886886
# 27| -1: [TypeMention] string
887-
# 27| 4: [BlockStmt] {...}
888887
# 27| 16: [Property] FirstName
889888
# 27| 3: [Getter] get_FirstName
890889
# 27| 4: [Setter] set_FirstName
@@ -917,7 +916,6 @@ Record.cs:
917916
# 30| 3: [ConstructorInitializer] call to constructor Person1
918917
# 30| 0: [ParameterAccess] access to parameter FirstName
919918
# 30| 1: [ParameterAccess] access to parameter LastName
920-
# 29| 4: [BlockStmt] {...}
921919
# 29| 17: [Property] Subject
922920
# 29| 3: [Getter] get_Subject
923921
# 29| 4: [Setter] set_Subject
@@ -945,7 +943,6 @@ Record.cs:
945943
# 33| 3: [ConstructorInitializer] call to constructor Person1
946944
# 33| 0: [ParameterAccess] access to parameter FirstName
947945
# 33| 1: [ParameterAccess] access to parameter LastName
948-
# 32| 4: [BlockStmt] {...}
949946
# 32| 17: [Property] Level
950947
# 32| 3: [Getter] get_Level
951948
# 32| 4: [Setter] set_Level
@@ -966,7 +963,6 @@ Record.cs:
966963
#-----| 2: (Parameters)
967964
# 35| 0: [Parameter] Name
968965
# 35| -1: [TypeMention] string
969-
# 35| 4: [BlockStmt] {...}
970966
# 35| 16: [Property] Name
971967
# 35| 3: [Getter] get_Name
972968
# 35| 4: [Setter] set_Name
@@ -993,7 +989,6 @@ Record.cs:
993989
# 41| -1: [TypeMention] string
994990
# 41| 3: [ConstructorInitializer] call to constructor Pet
995991
# 41| 0: [ParameterAccess] access to parameter Name
996-
# 41| 4: [BlockStmt] {...}
997992
# 41| 15: [Property] EqualityContract
998993
# 41| 3: [Getter] get_EqualityContract
999994
# 43| 16: [Method] WagTail
@@ -1035,7 +1030,6 @@ Record.cs:
10351030
#-----| 2: (Parameters)
10361031
# 54| 0: [Parameter] A
10371032
# 54| -1: [TypeMention] string
1038-
# 54| 4: [BlockStmt] {...}
10391033
# 54| 16: [Property] A
10401034
# 54| 3: [Getter] get_A
10411035
# 54| 4: [Setter] set_A
@@ -1060,7 +1054,6 @@ Record.cs:
10601054
# 56| -1: [TypeMention] string
10611055
# 56| 3: [ConstructorInitializer] call to constructor R1
10621056
# 56| 0: [ParameterAccess] access to parameter A
1063-
# 56| 4: [BlockStmt] {...}
10641057
# 56| 17: [Property] B
10651058
# 56| 3: [Getter] get_B
10661059
# 56| 4: [Setter] set_B

csharp/ql/test/library-tests/dataflow/tuples/PrintAst.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ Tuples.cs:
369369
# 95| -1: [TypeMention] string
370370
# 95| 1: [Parameter] j
371371
# 95| -1: [TypeMention] int
372-
# 95| 4: [BlockStmt] {...}
373372
# 95| 16: [Property] i
374373
# 95| 3: [Getter] get_i
375374
# 95| 4: [Setter] set_i

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2411,7 +2411,6 @@ expressions.cs:
24112411
#-----| 2: (Parameters)
24122412
# 518| 0: [Parameter] oc1
24132413
# 518| -1: [TypeMention] object
2414-
# 518| 4: [BlockStmt] {...}
24152414
# 520| 23: [Class] ClassC2
24162415
#-----| 3: (Base types)
24172416
# 520| 0: [TypeMention] ClassC1
@@ -2421,4 +2420,3 @@ expressions.cs:
24212420
# 520| -1: [TypeMention] object
24222421
# 520| 3: [ConstructorInitializer] call to constructor ClassC1
24232422
# 520| 0: [ParameterAccess] access to parameter oc2
2424-
# 520| 4: [BlockStmt] {...}

0 commit comments

Comments
 (0)