Skip to content

Commit 6433b80

Browse files
redsun82Copilot
andcommitted
Kotlin: accept integration test changes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1d02838 commit 6433b80

File tree

1 file changed

+12
-2
lines changed
  • java/ql/integration-tests/kotlin/all-platforms/annotation-id-consistency

1 file changed

+12
-2
lines changed

java/ql/integration-tests/kotlin/all-platforms/annotation-id-consistency/PrintAst.expected

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,12 @@ test.kt:
281281
# 40| 11: [Class] HasKotlinDeprecatedAnnotationUsedByJava
282282
#-----| -3: (Annotations)
283283
# 40| 1: [Annotation] Deprecated
284-
# 40| 1: [StringLiteral] "Kotlin deprecation message 1"
284+
# 0| 1: [Annotation] ReplaceWith
285+
# 0| 1: [StringLiteral] ""
286+
# 0| 2: [ArrayInit] {...}
287+
# 0| 2: [VarAccess] DeprecationLevel.WARNING
288+
# 0| -1: [TypeAccess] DeprecationLevel
289+
# 40| 3: [StringLiteral] "Kotlin deprecation message 1"
285290
# 40| 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByJava
286291
# 40| 5: [BlockStmt] { ... }
287292
# 40| 0: [SuperConstructorInvocationStmt] super(...)
@@ -298,7 +303,12 @@ test.kt:
298303
# 46| 13: [Class] HasKotlinDeprecatedAnnotationUsedByKotlin
299304
#-----| -3: (Annotations)
300305
# 46| 1: [Annotation] Deprecated
301-
# 46| 1: [StringLiteral] "Kotlin deprecation message 2"
306+
# 0| 1: [Annotation] ReplaceWith
307+
# 0| 1: [StringLiteral] ""
308+
# 0| 2: [ArrayInit] {...}
309+
# 0| 2: [VarAccess] DeprecationLevel.WARNING
310+
# 0| -1: [TypeAccess] DeprecationLevel
311+
# 46| 3: [StringLiteral] "Kotlin deprecation message 2"
302312
# 46| 1: [Constructor] HasKotlinDeprecatedAnnotationUsedByKotlin
303313
# 46| 5: [BlockStmt] { ... }
304314
# 46| 0: [SuperConstructorInvocationStmt] super(...)

0 commit comments

Comments
 (0)