Skip to content

Commit 3634799

Browse files
Update package versioning (#1035)
* Update package versioning SPM recommends `Package.swift` point to the latest version, but we're doing the opposite. * Disable Android CI job in ci.yml Comment out the Android CI job in the workflow file. * Update ci.yml * Fix test --------- Co-authored-by: Brandon Williams <mbrandonw@hey.com>
1 parent 9c14427 commit 3634799

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
matrix:
4343
swift:
44-
- "6.0.2"
44+
- "6.2"
4545
name: Android
4646
runs-on: ubuntu-latest
4747
steps:

Package.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.9
1+
// swift-tools-version:6.0
22

33
import PackageDescription
44

@@ -65,5 +65,6 @@ let package = Package(
6565
.product(name: "CustomDump", package: "swift-custom-dump"),
6666
]
6767
),
68-
]
68+
],
69+
swiftLanguageModes: [.v5]
6970
)

Package@swift-6.0.swift renamed to Package@swift-5.9.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:6.0
1+
// swift-tools-version:5.9
22

33
import PackageDescription
44

@@ -65,6 +65,5 @@ let package = Package(
6565
.product(name: "CustomDump", package: "swift-custom-dump"),
6666
]
6767
),
68-
],
69-
swiftLanguageModes: [.v5]
68+
]
7069
)

Tests/InlineSnapshotTestingTests/AssertInlineSnapshotSwiftTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
"""
2929
}
3030
} matching: { issue in
31-
issue.description == """
32-
Issue recorded: Snapshot did not match. Difference: …
31+
issue.description.hasSuffix("""
32+
Snapshot did not match. Difference: …
3333
3434
@@ −1,3 +1,4 @@
3535
 ▿ 2 elements
3636
  - "Hello"
3737
+ - "World"
3838
39-
"""
39+
""")
4040
}
4141
}
4242

0 commit comments

Comments
 (0)