Skip to content

Commit c5f64bd

Browse files
committed
Move @unchecked Sendable to Snapshotting+html
1 parent 8b214f7 commit c5f64bd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Tests/AppTests/Helpers/Snapshotting+html.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import SnapshotTesting
1919
import Dependencies
2020

2121
extension Snapshotting where Value == String, Format == String {
22-
public static let html = Snapshotting(pathExtension: "html", diffing: .lines)
22+
public static let html = Snapshotting(pathExtension: "html", diffing: .lines)
2323
}
2424

2525
extension Snapshotting where Value == () -> HTML, Format == String {
@@ -41,3 +41,8 @@ extension Snapshotting where Value == () -> Node<HTML.BodyContext>, Format == St
4141
}
4242
}
4343
}
44+
45+
46+
#warning("drop this")
47+
extension Snapshotting: @unchecked Swift.Sendable {}
48+
extension Diffing: @unchecked Swift.Sendable {}

Tests/AppTests/SocialTests.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,3 @@ class SocialTests: AppTestCase {
282282
}
283283

284284
}
285-
286-
extension SnapshotTesting.Snapshotting: @unchecked Swift.Sendable {}
287-
extension SnapshotTesting.Diffing: @unchecked Swift.Sendable {}

0 commit comments

Comments
 (0)