Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw committed Jan 12, 2024
1 parent 697aa5c commit d02980a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Tests/PerceptionTests/RuntimeWarningTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,11 @@ final class RuntimeWarningTests: XCTestCase {
}

private func expectFailure() {
if #unavailable(iOS 17, macOS 14, tvOS 17, watchOS 10) {
XCTExpectFailure {
$0.compactDescription == """
Perceptible state was accessed but is not being tracked. Track changes to state by \
wrapping your view in a 'WithPerceptionTracking' view.
"""
}
XCTExpectFailure {
$0.compactDescription == """
Perceptible state was accessed but is not being tracked. Track changes to state by \
wrapping your view in a 'WithPerceptionTracking' view.
"""
}
}

Expand Down

0 comments on commit d02980a

Please sign in to comment.