diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87f92c67..064cfa57 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: strategy: matrix: swift: - - "6.0.2" + - "6.2" name: Android runs-on: ubuntu-latest steps: diff --git a/Package.swift b/Package.swift index e68d373a..9aa6fca8 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.9 +// swift-tools-version:6.0 import PackageDescription @@ -65,5 +65,6 @@ let package = Package( .product(name: "CustomDump", package: "swift-custom-dump"), ] ), - ] + ], + swiftLanguageModes: [.v5] ) diff --git a/Package@swift-6.0.swift b/Package@swift-5.9.swift similarity index 96% rename from Package@swift-6.0.swift rename to Package@swift-5.9.swift index 9aa6fca8..e68d373a 100644 --- a/Package@swift-6.0.swift +++ b/Package@swift-5.9.swift @@ -1,4 +1,4 @@ -// swift-tools-version:6.0 +// swift-tools-version:5.9 import PackageDescription @@ -65,6 +65,5 @@ let package = Package( .product(name: "CustomDump", package: "swift-custom-dump"), ] ), - ], - swiftLanguageModes: [.v5] + ] ) diff --git a/Tests/InlineSnapshotTestingTests/AssertInlineSnapshotSwiftTests.swift b/Tests/InlineSnapshotTestingTests/AssertInlineSnapshotSwiftTests.swift index 8e2f3439..90aad6ea 100644 --- a/Tests/InlineSnapshotTestingTests/AssertInlineSnapshotSwiftTests.swift +++ b/Tests/InlineSnapshotTestingTests/AssertInlineSnapshotSwiftTests.swift @@ -28,15 +28,15 @@ """ } } matching: { issue in - issue.description == """ - Issue recorded: Snapshot did not match. Difference: … + issue.description.hasSuffix(""" + Snapshot did not match. Difference: … @@ −1,3 +1,4 @@  ▿ 2 elements   - "Hello" + - "World"   - """ + """) } }