Skip to content

Commit

Permalink
ExamplesFunTest: Inline a variable for compactness
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <frank.viernau@here.com>
  • Loading branch information
fviernau committed Sep 24, 2021
1 parent 897adf6 commit 30b14b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/src/funTest/kotlin/ExamplesFunTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ class ExamplesFunTest : StringSpec() {

val result = evaluator.run(script)

val failedRules = result.violations.map { it.rule }
failedRules shouldContainExactlyInAnyOrder listOf(
result.violations.map { it.rule } shouldContainExactlyInAnyOrder listOf(
"UNHANDLED_LICENSE",
"COPYLEFT_LIMITED_IN_SOURCE",
"VULNERABILITY_IN_PACKAGE",
Expand Down

0 comments on commit 30b14b9

Please sign in to comment.