Skip to content

Commit 28c3881

Browse files
committed
fix: align host XCTest selection count
1 parent dd6e53d commit 28c3881

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

‎apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests.swift‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -220,21 +220,21 @@ final class RunnerTests: XCTestCase {
220220
}
221221

222222
#if AGENT_DEVICE_RUNNER_UNIT_TESTS
223-
func testHostLocalNetworkPermissionMonitorSelectsOnlyTheDenialAction() {
224-
let prompt = ["Allow hosted compute to find devices on local networks?"]
225-
XCTAssertTrue(
226-
Self.shouldDismissHostLocalNetworkPermission(text: prompt, buttonLabel: "Don’t Allow")
227-
)
228-
XCTAssertFalse(
229-
Self.shouldDismissHostLocalNetworkPermission(text: prompt, buttonLabel: "Allow")
230-
)
231-
XCTAssertFalse(
232-
Self.shouldDismissHostLocalNetworkPermission(
233-
text: ["System Settings wants to make changes"],
234-
buttonLabel: "Don’t Allow"
235-
)
223+
func testHostLocalNetworkPermissionMonitorSelectsOnlyTheDenialAction() {
224+
let prompt = ["Allow hosted compute to find devices on local networks?"]
225+
XCTAssertTrue(
226+
Self.shouldDismissHostLocalNetworkPermission(text: prompt, buttonLabel: "Don’t Allow")
227+
)
228+
XCTAssertFalse(
229+
Self.shouldDismissHostLocalNetworkPermission(text: prompt, buttonLabel: "Allow")
230+
)
231+
XCTAssertFalse(
232+
Self.shouldDismissHostLocalNetworkPermission(
233+
text: ["System Settings wants to make changes"],
234+
buttonLabel: "Don’t Allow"
236235
)
237-
}
236+
)
237+
}
238238
#endif
239239

240240
/// True for the one recorded-issue class the runner deliberately mutes: an AX-server error

0 commit comments

Comments
 (0)