From 92ca0c2b62847a0b66a90c261fe5c1412b86c154 Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Fri, 31 Oct 2025 10:53:11 +0100 Subject: [PATCH] Swift: Update expected test results --- .../test/library-tests/ast/PrintAst.expected | 2 +- .../KeyPathComponent/KindAccessors.expected | 28 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/swift/ql/test/library-tests/ast/PrintAst.expected b/swift/ql/test/library-tests/ast/PrintAst.expected index 6bc89c057e1..8cd6a4a5aff 100644 --- a/swift/ql/test/library-tests/ast/PrintAst.expected +++ b/swift/ql/test/library-tests/ast/PrintAst.expected @@ -4571,7 +4571,7 @@ declarations.swift: # 81| Type = Int # 81| getParam(5): [ParamDecl] hasBoth # 81| Type = Int -# 89| [Comment] // A field can be marked as read-only by dirctly implementing +# 89| [Comment] // A field can be marked as read-only by directly implementing # 89| # 90| [Comment] // the getter between the braces. # 90| diff --git a/swift/ql/test/library-tests/elements/KeyPathComponent/KindAccessors.expected b/swift/ql/test/library-tests/elements/KeyPathComponent/KindAccessors.expected index 6c55385ae62..76a5b3c8cad 100644 --- a/swift/ql/test/library-tests/elements/KeyPathComponent/KindAccessors.expected +++ b/swift/ql/test/library-tests/elements/KeyPathComponent/KindAccessors.expected @@ -1,14 +1,14 @@ -| file://:0:0:0:0 | KeyPathComponent | getKind: | 9 | | | | | optional wrapping | | | -| key_path_expr.swift:11:17:11:17 | KeyPathComponent | getKind: | 5 | property | | | | | | | -| key_path_expr.swift:12:24:12:26 | KeyPathComponent | getKind: | 6 | | subscript | | | | | | -| key_path_expr.swift:13:34:13:38 | KeyPathComponent | getKind: | 6 | | subscript | | | | | | -| key_path_expr.swift:14:31:14:31 | KeyPathComponent | getKind: | 7 | | | optional forcing | | | | | -| key_path_expr.swift:14:31:14:31 | KeyPathComponent | getKind: | 10 | | | | | | self | | -| key_path_expr.swift:15:21:15:21 | KeyPathComponent | getKind: | 5 | property | | | | | | | -| key_path_expr.swift:15:24:15:24 | KeyPathComponent | getKind: | 8 | | | | optional chaining | | | | -| key_path_expr.swift:15:26:15:26 | KeyPathComponent | getKind: | 5 | property | | | | | | | -| key_path_expr.swift:16:25:16:25 | KeyPathComponent | getKind: | 5 | property | | | | | | | -| key_path_expr.swift:16:28:16:28 | KeyPathComponent | getKind: | 8 | | | | optional chaining | | | | -| key_path_expr.swift:16:30:16:30 | KeyPathComponent | getKind: | 5 | property | | | | | | | -| key_path_expr.swift:17:16:17:16 | KeyPathComponent | getKind: | 10 | | | | | | self | | -| key_path_expr.swift:18:32:18:32 | KeyPathComponent | getKind: | 11 | | | | | | | tuple indexing | +| file://:0:0:0:0 | KeyPathComponent | getKind: | 9 | | | | | | optional wrapping | | | +| key_path_expr.swift:11:17:11:17 | KeyPathComponent | getKind: | 5 | | property | | | | | | | +| key_path_expr.swift:12:24:12:26 | KeyPathComponent | getKind: | 6 | | | subscript | | | | | | +| key_path_expr.swift:13:34:13:38 | KeyPathComponent | getKind: | 6 | | | subscript | | | | | | +| key_path_expr.swift:14:31:14:31 | KeyPathComponent | getKind: | 7 | | | | optional forcing | | | | | +| key_path_expr.swift:14:31:14:31 | KeyPathComponent | getKind: | 10 | | | | | | | self | | +| key_path_expr.swift:15:21:15:21 | KeyPathComponent | getKind: | 5 | | property | | | | | | | +| key_path_expr.swift:15:24:15:24 | KeyPathComponent | getKind: | 8 | | | | | optional chaining | | | | +| key_path_expr.swift:15:26:15:26 | KeyPathComponent | getKind: | 5 | | property | | | | | | | +| key_path_expr.swift:16:25:16:25 | KeyPathComponent | getKind: | 5 | | property | | | | | | | +| key_path_expr.swift:16:28:16:28 | KeyPathComponent | getKind: | 8 | | | | | optional chaining | | | | +| key_path_expr.swift:16:30:16:30 | KeyPathComponent | getKind: | 5 | | property | | | | | | | +| key_path_expr.swift:17:16:17:16 | KeyPathComponent | getKind: | 10 | | | | | | | self | | +| key_path_expr.swift:18:32:18:32 | KeyPathComponent | getKind: | 11 | | | | | | | | tuple indexing |