File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,9 @@ func Test_TryProcessSingleOrchestrationWorkItem_Idempotency(t *testing.T) {
142
142
143
143
t .Logf ("state.NewEvents: %v" , wi .State .NewEvents )
144
144
require .Len (t , wi .State .NewEvents , 3 )
145
- require .True (t , wi .State .NewEvents [0 ].GetOrchestratorStarted () != nil )
146
- require .True (t , wi .State .NewEvents [1 ].GetExecutionStarted () != nil )
147
- require .True (t , wi .State .NewEvents [2 ].GetOrchestratorStarted () != nil )
145
+ require .NotNil (t , wi .State .NewEvents [0 ].GetOrchestratorStarted ())
146
+ require .NotNil (t , wi .State .NewEvents [1 ].GetExecutionStarted ())
147
+ require .NotNil (t , wi .State .NewEvents [2 ].GetOrchestratorStarted ())
148
148
}
149
149
150
150
func Test_TryProcessSingleOrchestrationWorkItem_ExecutionStartedAndCompleted (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments