Skip to content

Commit 5243a62

Browse files
committed
Accept test changes
1 parent c0874ab commit 5243a62

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

java/ql/test/library-tests/dependency/PrintAst.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ dependency/A.java:
6363
# 31| 1: [SwitchStmt] switch (...)
6464
# 31| -1: [VarAccess] o
6565
# 32| 0: [PatternCase] case <Pattern>
66-
#-----| 0: (Single Local Variable Declaration)
66+
#-----| 0: (Pattern case declaration)
6767
# 32| 0: [TypeAccess] Used2
6868
# 32| 1: [LocalVariableDeclExpr] u2
6969
# 32| 1: [BreakStmt] break
@@ -74,7 +74,7 @@ dependency/A.java:
7474
# 35| 0: [SwitchExpr] switch (...)
7575
# 35| -1: [VarAccess] o
7676
# 36| 0: [PatternCase] case <Pattern>
77-
#-----| 0: (Single Local Variable Declaration)
77+
#-----| 0: (Pattern case declaration)
7878
# 36| 0: [TypeAccess] Used3
7979
# 36| 1: [LocalVariableDeclExpr] u3
8080
# 36| 1: [YieldStmt] yield ...

java/ql/test/library-tests/guards12/PrintAst.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Test.java:
5252
# 17| 0: [VarAccess] len
5353
# 17| 1: [IntegerLiteral] 4
5454
# 17| -1: [BlockStmt] { ... }
55-
#-----| 0: (Single Local Variable Declaration)
55+
#-----| 0: (Pattern case declaration)
5656
# 17| 0: [TypeAccess] String
5757
# 17| 1: [LocalVariableDeclExpr] s2
5858
# 18| 1: [ConstCase] case ...
@@ -74,7 +74,7 @@ Test.java:
7474
# 23| 0: [VarAccess] len
7575
# 23| 1: [IntegerLiteral] 4
7676
# 23| -1: [BlockStmt] { ... }
77-
#-----| 0: (Single Local Variable Declaration)
77+
#-----| 0: (Pattern case declaration)
7878
# 23| 0: [TypeAccess] String
7979
# 23| 1: [LocalVariableDeclExpr] s2
8080
# 24| 2: [ConstCase] case ...

java/ql/test/library-tests/printAst/PrintAst.expected

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ A.java:
127127
# 54| -1: [VarAccess] System.out
128128
# 54| -1: [TypeAccess] System
129129
# 54| 0: [VarAccess] s
130-
#-----| 0: (Single Local Variable Declaration)
130+
#-----| 0: (Pattern case declaration)
131131
# 54| 0: [TypeAccess] String
132132
# 54| 1: [LocalVariableDeclExpr] s
133133
# 55| 1: [PatternCase] case <Pattern>
@@ -138,15 +138,15 @@ A.java:
138138
# 55| 0: [AddExpr] ... + ...
139139
# 55| 0: [StringLiteral] "An integer: "
140140
# 55| 1: [VarAccess] i
141-
#-----| 0: (Single Local Variable Declaration)
141+
#-----| 0: (Pattern case declaration)
142142
# 55| 0: [TypeAccess] Integer
143143
# 55| 1: [LocalVariableDeclExpr] i
144144
# 56| 2: [DefaultCase] default
145145
# 56| -1: [BlockStmt] { ... }
146146
# 58| 3: [SwitchStmt] switch (...)
147147
# 58| -1: [VarAccess] thing
148148
# 59| 0: [PatternCase] case <Pattern>
149-
#-----| 0: (Single Local Variable Declaration)
149+
#-----| 0: (Pattern case declaration)
150150
# 59| 0: [TypeAccess] String
151151
# 59| 1: [LocalVariableDeclExpr] s
152152
# 60| 1: [ExprStmt] <Expr>;
@@ -156,7 +156,7 @@ A.java:
156156
# 60| 0: [VarAccess] s
157157
# 61| 2: [BreakStmt] break
158158
# 62| 3: [PatternCase] case <Pattern>
159-
#-----| 0: (Single Local Variable Declaration)
159+
#-----| 0: (Pattern case declaration)
160160
# 62| 0: [TypeAccess] Integer
161161
# 62| 1: [LocalVariableDeclExpr] i
162162
# 63| 4: [ExprStmt] <Expr>;
@@ -175,14 +175,14 @@ A.java:
175175
# 68| -1: [VarAccess] thing
176176
# 69| 0: [PatternCase] case <Pattern>
177177
# 69| -1: [VarAccess] s
178-
#-----| 0: (Single Local Variable Declaration)
178+
#-----| 0: (Pattern case declaration)
179179
# 69| 0: [TypeAccess] String
180180
# 69| 1: [LocalVariableDeclExpr] s
181181
# 70| 1: [PatternCase] case <Pattern>
182182
# 70| -1: [AddExpr] ... + ...
183183
# 70| 0: [StringLiteral] "An integer: "
184184
# 70| 1: [VarAccess] i
185-
#-----| 0: (Single Local Variable Declaration)
185+
#-----| 0: (Pattern case declaration)
186186
# 70| 0: [TypeAccess] Integer
187187
# 70| 1: [LocalVariableDeclExpr] i
188188
# 71| 2: [DefaultCase] default
@@ -192,13 +192,13 @@ A.java:
192192
# 73| 0: [SwitchExpr] switch (...)
193193
# 73| -1: [VarAccess] thing
194194
# 74| 0: [PatternCase] case <Pattern>
195-
#-----| 0: (Single Local Variable Declaration)
195+
#-----| 0: (Pattern case declaration)
196196
# 74| 0: [TypeAccess] String
197197
# 74| 1: [LocalVariableDeclExpr] s
198198
# 75| 1: [YieldStmt] yield ...
199199
# 75| 0: [VarAccess] s
200200
# 76| 2: [PatternCase] case <Pattern>
201-
#-----| 0: (Single Local Variable Declaration)
201+
#-----| 0: (Pattern case declaration)
202202
# 76| 0: [TypeAccess] Integer
203203
# 76| 1: [LocalVariableDeclExpr] i
204204
# 77| 3: [YieldStmt] yield ...
@@ -232,7 +232,7 @@ A.java:
232232
# 87| -1: [VarAccess] s
233233
# 87| 1: [IntegerLiteral] 3
234234
# 87| -1: [StringLiteral] "It's 3 letters long"
235-
#-----| 0: (Single Local Variable Declaration)
235+
#-----| 0: (Pattern case declaration)
236236
# 87| 0: [TypeAccess] String
237237
# 87| 1: [LocalVariableDeclExpr] s
238238
# 88| 2: [PatternCase] case <Pattern>
@@ -241,7 +241,7 @@ A.java:
241241
# 88| -1: [VarAccess] s
242242
# 88| 1: [IntegerLiteral] 5
243243
# 88| -1: [StringLiteral] "it's 5 letters long"
244-
#-----| 0: (Single Local Variable Declaration)
244+
#-----| 0: (Pattern case declaration)
245245
# 88| 0: [TypeAccess] String
246246
# 88| 1: [LocalVariableDeclExpr] s
247247
# 89| 3: [DefaultCase] default
@@ -252,7 +252,7 @@ A.java:
252252
# 91| -1: [VarAccess] thing
253253
# 92| 0: [PatternCase] case <Pattern>
254254
# 92| -1: [StringLiteral] "It's a string"
255-
#-----| 0: (Single Local Variable Declaration)
255+
#-----| 0: (Pattern case declaration)
256256
# 92| 0: [TypeAccess] String
257257
# 92| 1: [LocalVariableDeclExpr] s
258258
# 93| 1: [NullDefaultCase] case null, default

0 commit comments

Comments
 (0)