File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
clients/fossid-webapp/src/test/kotlin
plugins/package-managers/bazel/src/test/kotlin Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class FossId2023dot1Test : StringSpec({
5353 server.start()
5454
5555 mockkObject(FossIdServiceWithVersion .Companion )
56- coEvery { FossIdServiceWithVersion .Companion . create(any()) } answers {
56+ coEvery { FossIdServiceWithVersion .create(any()) } answers {
5757 VersionedFossIdService2021dot2 (firstArg(), "2023.2.0")
5858 }
5959
Original file line number Diff line number Diff line change @@ -27,20 +27,20 @@ class CompositeBazelModuleRegistryServiceTest : WordSpec({
2727 " match the server's base url and the package name" {
2828 val expr1 = " https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/main/modules/abseil-cpp/" +
2929 " 20230125.1/source.json"
30- val group1 = CompositeBazelModuleRegistryService .Companion . URL_REGEX .matchEntire(expr1)?.groups
30+ val group1 = CompositeBazelModuleRegistryService .URL_REGEX .matchEntire(expr1)?.groups
3131
3232 group1?.get("server")
3333 ?.value shouldBe " https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/main/"
3434 group1?.get("package")?.value shouldBe " abseil-cpp"
3535
3636 val expr2 = " https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/source.json"
37- val group2 = CompositeBazelModuleRegistryService .Companion . URL_REGEX .matchEntire(expr2)?.groups
37+ val group2 = CompositeBazelModuleRegistryService .URL_REGEX .matchEntire(expr2)?.groups
3838
3939 group2?.get("server")?.value shouldBe " https://bcr.bazel.build/"
4040 group2?.get("package")?.value shouldBe " rules_proto"
4141
4242 val expr3 = " https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/source.json"
43- val group3 = CompositeBazelModuleRegistryService .Companion . URL_REGEX .matchEntire(expr3)?.groups
43+ val group3 = CompositeBazelModuleRegistryService .URL_REGEX .matchEntire(expr3)?.groups
4444
4545 group3?.get("server")?.value shouldBe " https://bcr.bazel.build/"
4646 group3?.get("package")?.value shouldBe " upb"
You can’t perform that action at this time.
0 commit comments