Skip to content

Commit a5e733c

Browse files
committed
C#: Adjust printAst expected output.
1 parent 46f8cf6 commit a5e733c

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -864,19 +864,19 @@ CSharp7.cs:
864864
# 283| -1: [ParameterAccess] access to parameter item
865865
# 283| 1: [PropertyCall] access to property Value
866866
# 283| -1: [ParameterAccess] access to parameter item
867-
# 285| 2: [ForeachStmt] foreach (... ... in ...) ...
867+
# 285| 2: [ForEachStmt] foreach (... ... in ...) ...
868868
# 285| 0: [TupleExpr] (..., ...)
869869
# 285| 0: [LocalVariableDeclExpr] Int32 a
870870
# 285| 1: [LocalVariableDeclExpr] String b
871871
# 285| 1: [LocalVariableAccess] access to local variable list
872872
# 285| 2: [BlockStmt] {...}
873-
# 287| 3: [ForeachStmt] foreach (... ... in ...) ...
873+
# 287| 3: [ForEachStmt] foreach (... ... in ...) ...
874874
# 287| 0: [TupleExpr] (..., ...)
875875
# 287| 0: [LocalVariableDeclExpr] Int32 a
876876
# 287| 1: [LocalVariableDeclExpr] String b
877877
# 287| 1: [LocalVariableAccess] access to local variable list
878878
# 287| 2: [BlockStmt] {...}
879-
# 289| 4: [ForeachStmt] foreach (... ... in ...) ...
879+
# 289| 4: [ForEachStmt] foreach (... ... in ...) ...
880880
# 289| 0: [TupleExpr] (..., ...)
881881
# 289| 0: [LocalVariableDeclExpr] Int32 a
882882
# 289| 1: [LocalVariableDeclExpr] String b

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ AsyncStreams.cs:
3333
# 15| 7: [Method] F
3434
# 15| -1: [TypeMention] Void
3535
# 16| 4: [BlockStmt] {...}
36-
# 17| 0: [ForeachStmt] foreach (... ... in ...) ...
36+
# 17| 0: [ForEachStmt] foreach (... ... in ...) ...
3737
# 17| 0: [LocalVariableDeclExpr] Int32 item
3838
# 17| 0: [TypeMention] int
3939
# 17| 1: [MethodCall] call to method Items

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ ForeachExtension.cs:
241241
# 23| 0: [TypeMention] Enumerable
242242
# 23| 0: [IntLiteral] 0
243243
# 23| 1: [IntLiteral] 10
244-
# 24| 1: [ForeachStmt] foreach (... ... in ...) ...
244+
# 24| 1: [ForEachStmt] foreach (... ... in ...) ...
245245
# 24| 0: [LocalVariableDeclExpr] Int32 item
246246
# 24| 0: [TypeMention] int
247247
# 24| 1: [LocalVariableAccess] access to local variable enumerator1
@@ -252,17 +252,17 @@ ForeachExtension.cs:
252252
# 28| 1: [TypeMention] int
253253
# 28| 0: [LocalVariableAccess] access to local variable enumerator2
254254
# 28| 1: [MethodCall] call to method GetAsyncEnumerator
255-
# 29| 3: [ForeachStmt] foreach (... ... in ...) ...
255+
# 29| 3: [ForEachStmt] foreach (... ... in ...) ...
256256
# 29| 0: [LocalVariableDeclExpr] Int32 item
257257
# 29| 0: [TypeMention] int
258258
# 29| 1: [LocalVariableAccess] access to local variable enumerator2
259259
# 30| 2: [BlockStmt] {...}
260-
# 33| 4: [ForeachStmt] foreach (... ... in ...) ...
260+
# 33| 4: [ForEachStmt] foreach (... ... in ...) ...
261261
# 33| 0: [LocalVariableDeclExpr] Int32 item
262262
# 33| 0: [TypeMention] int
263263
# 33| 1: [IntLiteral] 42
264264
# 34| 2: [BlockStmt] {...}
265-
# 37| 5: [ForeachStmt] foreach (... ... in ...) ...
265+
# 37| 5: [ForEachStmt] foreach (... ... in ...) ...
266266
# 37| 0: [LocalVariableDeclExpr] Int32 i
267267
# 37| 0: [TypeMention] int
268268
# 37| 1: [ArrayCreation] array creation of type Int32[]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ definitions.cs:
199199
# 86| 0: [LocalVariableDeclExpr] Exception e
200200
# 86| 0: [TypeMention] Exception
201201
# 87| 1: [BlockStmt] {...}
202-
# 88| 0: [ForeachStmt] foreach (... ... in ...) ...
202+
# 88| 0: [ForEachStmt] foreach (... ... in ...) ...
203203
# 88| 0: [LocalVariableDeclExpr] S1 s
204204
# 88| 0: [TypeMention] S1
205205
# 88| 1: [ParameterAccess] access to parameter ss

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ methods.cs:
323323
# 127| 1: [StringLiteralUtf16] "22"
324324
# 127| 2: [StringLiteralUtf16] "333"
325325
# 127| 3: [StringLiteralUtf16] "4444"
326-
# 128| 1: [ForeachStmt] foreach (... ... in ...) ...
326+
# 128| 1: [ForEachStmt] foreach (... ... in ...) ...
327327
# 128| 0: [LocalVariableDeclExpr] String s
328328
# 128| 0: [TypeMention] string
329329
# 128| 1: [MethodCall] call to method Slice<String>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ statements.cs:
357357
# 139| -1: [TypeMention] String[]
358358
# 139| 1: [TypeMention] string
359359
# 140| 4: [BlockStmt] {...}
360-
# 141| 0: [ForeachStmt] foreach (... ... in ...) ...
360+
# 141| 0: [ForEachStmt] foreach (... ... in ...) ...
361361
# 141| 0: [LocalVariableDeclExpr] String s
362362
# 141| 0: [TypeMention] string
363363
# 141| 1: [ParameterAccess] access to parameter args
@@ -501,7 +501,7 @@ statements.cs:
501501
# 192| 24: [Method] MainYield
502502
# 192| -1: [TypeMention] Void
503503
# 193| 4: [BlockStmt] {...}
504-
# 194| 0: [ForeachStmt] foreach (... ... in ...) ...
504+
# 194| 0: [ForEachStmt] foreach (... ... in ...) ...
505505
# 194| 0: [LocalVariableDeclExpr] Int32 x
506506
# 194| 0: [TypeMention] int
507507
# 194| 1: [MethodCall] call to method Range

0 commit comments

Comments
 (0)