Skip to content

Commit

Permalink
Fix: coverage prevents per data stream testing (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtojek authored Jul 27, 2021
1 parent 24ffe38 commit ccd0a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/testrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func testTypeCommandActionFactory(runner testrunner.TestRunner) cobraext.Command
return cobraext.FlagParsingError(err, cobraext.DataStreamsFlagName)
}

if len(dataStreams) > 0 {
if testCoverage && len(dataStreams) > 0 {
return cobraext.FlagParsingError(errors.New("test coverage can be calculated only if all data streams are selected"), cobraext.DataStreamsFlagName)
}
}
Expand Down

0 comments on commit ccd0a5e

Please sign in to comment.