diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 2ef53a3e..e67caef3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -40,6 +40,11 @@ jobs:
macOS: "12"
iOS: "15.5"
tvOS: "15.4"
+ useCodecov: "false"
+ - xcode: "14.0" # Swift 5.7
+ macOS: "12"
+ iOS: "16.0"
+ tvOS: "16.0"
useCodecov: "true"
runs-on: macos-${{ matrix.macOS }}
diff --git a/Tests/XMLCoderTests/AdvancedFeatures/ErrorContextTest.swift b/Tests/XMLCoderTests/AdvancedFeatures/ErrorContextTest.swift
index 11a9aa2f..2bf69a72 100644
--- a/Tests/XMLCoderTests/AdvancedFeatures/ErrorContextTest.swift
+++ b/Tests/XMLCoderTests/AdvancedFeatures/ErrorContextTest.swift
@@ -31,26 +31,34 @@ final class ErrorContextTest: XCTestCase {
return
}
- #if os(Linux) && swift(<5.4)
- // XML Parser returns a different column on Linux
- // https://bugs.swift.org/browse/SR-11192
- XCTAssertEqual(ctx.debugDescription, """
+ let column2 = """
+ \(underlying.localizedDescription) \
+ at line 1, column 2:
+ ``
- """)
- #elseif os(Windows) || os(Linux)
- XCTAssertEqual(ctx.debugDescription, """
+ """
+ let column10 = """
\(underlying.localizedDescription) \
at line 1, column 10:
`//>`
- """)
+ """
+
+ #if os(Linux) && swift(<5.4)
+ // XML Parser returns a different column on Linux and iOS 16+
+ // https://bugs.swift.org/browse/SR-11192
+ XCTAssertEqual(ctx.debugDescription, column7)
+ #elseif os(Windows) || os(Linux)
+ XCTAssertEqual(ctx.debugDescription, column10)
#else
- XCTAssertEqual(ctx.debugDescription, """
- \(underlying.localizedDescription) \
- at line 1, column 2:
- `