File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libs/little-forker/tests/LittleForker.Tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public async Task Given_short_running_exe_then_should_run_to_exit()
5555 Constants . DotNet ,
5656 Constants . SelfTerminatingProcessPath ,
5757 envVars ) ;
58- supervisor . OutputDataReceived += data => _outputHelper . WriteLine2 ( data ) ;
58+ supervisor . OutputDataReceived += _outputHelper . WriteLine2 ;
5959 var whenStateIsExited = supervisor . WhenStateIs ( ProcessSupervisor . State . ExitedSuccessfully ) ;
6060 var whenStateIsExitedWithError = supervisor . WhenStateIs ( ProcessSupervisor . State . ExitedWithError ) ;
6161
@@ -147,7 +147,7 @@ public async Task When_stop_a_non_terminating_process_without_a_timeout_then_sho
147147 await supervisor . Stop ( ) ; // No timeout so will just kill the process
148148 await stateIsStopped . TimeoutAfter ( TimeSpan . FromSeconds ( 2 ) ) ;
149149
150- _outputHelper . WriteLine ( $ "Exit code { supervisor . ProcessInfo . ExitCode } ") ;
150+ _outputHelper . WriteLine ( $ "Exit code { supervisor . ProcessInfo ! . ExitCode } ") ;
151151 }
152152
153153 [ Fact ]
You can’t perform that action at this time.
0 commit comments