Skip to content

Commit 1605438

Browse files
committed
Java: Accept new test result after extractor changes
1 parent 6c773a7 commit 1605438

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
| FlexibleConstructors.java:31:7:31:11 | <Expr>; | 1 | <obinit> | Instance initializer call at index 1 |
2+
| FlexibleConstructors.java:89:5:89:5 | <Expr>; | 3 | <obinit> | Instance initializer call at index 3 |

java/ql/test/library-tests/flexible-constructors/PrettyPrint.expected

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
| FlexibleConstructors.java:82:7:82:7 | G | 10 | var tmp = input != null ? input : "default"; |
120120
| FlexibleConstructors.java:82:7:82:7 | G | 11 | var string = tmp + "_initialized"; |
121121
| FlexibleConstructors.java:82:7:82:7 | G | 12 | super(); |
122-
| FlexibleConstructors.java:82:7:82:7 | G | 13 | this.instance_val = string; |
123-
| FlexibleConstructors.java:82:7:82:7 | G | 14 | } |
124-
| FlexibleConstructors.java:82:7:82:7 | G | 15 | } |
122+
| FlexibleConstructors.java:82:7:82:7 | G | 13 | <obinit>(); |
123+
| FlexibleConstructors.java:82:7:82:7 | G | 14 | this.instance_val = string; |
124+
| FlexibleConstructors.java:82:7:82:7 | G | 15 | } |
125+
| FlexibleConstructors.java:82:7:82:7 | G | 16 | } |

java/ql/test/library-tests/flexible-constructors/PrintAst.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ FlexibleConstructors.java:
206206
# 91| 0: [VarAccess] tmp
207207
# 91| 1: [StringLiteral] "_initialized"
208208
# 92| 2: [SuperConstructorInvocationStmt] super(...)
209-
# 93| 3: [ExprStmt] <Expr>;
209+
# 93| 4: [ExprStmt] <Expr>;
210210
# 93| 0: [AssignExpr] ...=...
211211
# 93| 0: [VarAccess] this.instance_val
212212
# 93| -1: [ThisAccess] this

0 commit comments

Comments
 (0)