Skip to content

Commit

Permalink
chore: Ensure tests access ALL plugins via getValue()
Browse files Browse the repository at this point in the history
Tests have all core plugins available and should fail early if the
lookup fails.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Oct 20, 2023
1 parent 21652d2 commit d937ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer/src/funTest/kotlin/PackageManagerFunTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class PackageManagerFunTest : WordSpec({

// The test project contains at least one file per package manager, so the result should also contain an
// entry for each package manager.
val unmanagedPackageManagerFactory = PackageManager.ALL["Unmanaged"]
val unmanagedPackageManagerFactory = PackageManager.ALL.getValue("Unmanaged")
managedFiles.keys shouldContainExactlyInAnyOrder PackageManager.ENABLED_BY_DEFAULT.filterNot {
it == unmanagedPackageManagerFactory
}
Expand Down

0 comments on commit d937ca3

Please sign in to comment.