Skip to content

Commit

Permalink
nil check
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed Nov 27, 2024
1 parent b5b300b commit c7a99b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ffprobe.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func verify(t *testing.T, in string, p *config.PipelineConfig, res *livekit.Egre
require.Equal(t, livekit.EgressSourceType_EGRESS_SOURCE_TYPE_WEB, res.SourceType)
} else if p.RequestType == types.RequestTypeWeb {
require.Equal(t, livekit.EgressSourceType_EGRESS_SOURCE_TYPE_WEB, res.SourceType)
} else {
} else if res != nil {
require.Equal(t, livekit.EgressSourceType_EGRESS_SOURCE_TYPE_SDK, res.SourceType)
}

Expand Down

0 comments on commit c7a99b0

Please sign in to comment.