File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,9 +65,18 @@ private func testConfigureOnLaunchSuppressesTransientNotFound() throws {
6565
6666 let state = manager. configureOnLaunch ( )
6767
68- try expect ( defaults. bool ( forKey: " startAtLoginEnabled " ) , " first launch should still store preference " )
69- try expect ( !service. didRegister, " launch should not attempt registration from transient notFound " )
70- try expect ( state. status == . notRegistered, " transient notFound should be suppressed on launch " )
68+ try expect (
69+ defaults. bool ( forKey: " startAtLoginEnabled " ) ,
70+ " first launch should still store preference "
71+ )
72+ try expect (
73+ !service. didRegister,
74+ " launch should not attempt registration from transient notFound "
75+ )
76+ try expect (
77+ state. status == . notRegistered,
78+ " transient notFound should be suppressed on launch "
79+ )
7180 try expect ( state. message == nil , " suppressed notFound should not show an error message " )
7281}
7382
Original file line number Diff line number Diff line change 1- 0.2
1+ 0.4
You can’t perform that action at this time.
0 commit comments