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()
55
55
Constants . DotNet ,
56
56
Constants . SelfTerminatingProcessPath ,
57
57
envVars ) ;
58
- supervisor . OutputDataReceived += data => _outputHelper . WriteLine2 ( data ) ;
58
+ supervisor . OutputDataReceived += _outputHelper . WriteLine2 ;
59
59
var whenStateIsExited = supervisor . WhenStateIs ( ProcessSupervisor . State . ExitedSuccessfully ) ;
60
60
var whenStateIsExitedWithError = supervisor . WhenStateIs ( ProcessSupervisor . State . ExitedWithError ) ;
61
61
@@ -147,7 +147,7 @@ public async Task When_stop_a_non_terminating_process_without_a_timeout_then_sho
147
147
await supervisor . Stop ( ) ; // No timeout so will just kill the process
148
148
await stateIsStopped . TimeoutAfter ( TimeSpan . FromSeconds ( 2 ) ) ;
149
149
150
- _outputHelper . WriteLine ( $ "Exit code { supervisor . ProcessInfo . ExitCode } ") ;
150
+ _outputHelper . WriteLine ( $ "Exit code { supervisor . ProcessInfo ! . ExitCode } ") ;
151
151
}
152
152
153
153
[ Fact ]
You can’t perform that action at this time.
0 commit comments