File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,22 +191,21 @@ fn replica_command_uses_session_flag() {
191191#[ test]
192192fn manager_can_attach_arbitrary_session ( ) {
193193 let mut manager = PtyManager :: default ( ) ;
194- let result = manager
195- . attach_arbitrary_session (
196- "sess_xyz" . into ( ) ,
197- PathBuf :: from ( "/tmp/xyz" ) ,
198- "Arbitrary" . into ( ) ,
199- SessionStatus :: Idle ,
200- Some ( 1234567890 ) ,
201- 24 ,
202- 80 ,
203- ) ;
194+ let result = manager. attach_arbitrary_session (
195+ "sess_xyz" . into ( ) ,
196+ PathBuf :: from ( "/tmp/xyz" ) ,
197+ "Arbitrary" . into ( ) ,
198+ SessionStatus :: Idle ,
199+ Some ( 1234567890 ) ,
200+ 24 ,
201+ 80 ,
202+ ) ;
204203
205204 if let Err ( e) = & result {
206205 let err_str = e. to_string ( ) ;
207- if err_str. contains ( "No such file or directory" )
208- || err_str. contains ( "not found" )
209- || err_str. contains ( "No viable candidates found in PATH" )
206+ if err_str. contains ( "No such file or directory" )
207+ || err_str. contains ( "not found" )
208+ || err_str. contains ( "No viable candidates found in PATH" )
210209 {
211210 return ;
212211 }
You can’t perform that action at this time.
0 commit comments