Skip to content

Commit

Permalink
minor test clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bharath-123 committed Sep 23, 2024
1 parent 5cae0da commit d36bcf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grpc/execution/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ func TestExecutionServiceServerV1Alpha2_ExecuteBlock(t *testing.T) {
if tt.expectedReturnCode > 0 {
require.NotNil(t, err, "ExecuteBlock should return an error")
require.Equal(t, tt.expectedReturnCode, status.Code(err), "ExecuteBlock failed")
} else {
require.Nil(t, err, "ExecuteBlock should not return an error")
}
if err == nil {
require.NotNil(t, executeBlockRes, "ExecuteBlock response is nil")
Expand Down

0 comments on commit d36bcf7

Please sign in to comment.