Skip to content

Commit

Permalink
test(model): Improve two test case names
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Apr 12, 2024
1 parent 06fde33 commit 6f3af0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/src/test/kotlin/OrtResultTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class OrtResultTest : WordSpec({
}

"getRuleViolations()" should {
"return unfiltered rule violations if omitResolved is false" {
"return unfiltered rule violations if omitResolved is false and minSeverity is HINT" {
val ortResult = OrtResult.EMPTY.copy(
repository = Repository.EMPTY.copy(
config = RepositoryConfiguration(
Expand Down Expand Up @@ -304,7 +304,7 @@ class OrtResultTest : WordSpec({
.shouldContainExactly("rule id")
}

"drop resolved rule violations if omitResolved is true" {
"drop violations which are resolved or below minSeverity if omitResolved is true and minSeverity is WARNING" {
val ortResult = OrtResult.EMPTY.copy(
evaluator = EvaluatorRun.EMPTY.copy(
violations = listOf(
Expand Down

0 comments on commit 6f3af0d

Please sign in to comment.