Skip to content

Commit ef0ad74

Browse files
committed
Fix warning
1 parent 0484d39 commit ef0ad74

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Tests/AppTests/AnalyzeErrorTests.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,7 @@ extension AllTests.AnalyzeErrorTests {
188188

189189

190190
extension AllTests.AnalyzeErrorTests {
191-
#if compiler(>=6.1)
192-
#warning("Move this into a trait on @Test")
193-
// See https://forums.swift.org/t/converting-xctest-invoketest-to-swift-testing/77692/4 for details
194-
#endif
191+
// Cannot be a trait, because it references the member `socialPosts`
195192
var defaultDependencies: @Sendable (inout DependencyValues) async throws -> Void {
196193
{
197194
$0.date.now = .t0

0 commit comments

Comments
 (0)