From 24791e44fc2b3dc17f14f7a2931a1346036d84bc Mon Sep 17 00:00:00 2001 From: Marc Schlegel Date: Wed, 11 Feb 2026 17:17:10 +0100 Subject: [PATCH] fix scalac compiler deprecation warnings in test for the mill-plugin --- .../openapitools/generator/mill/MillOpenapiModuleTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openapi-generator-mill-plugin/src/test/scala/org/openapitools/generator/mill/MillOpenapiModuleTest.scala b/modules/openapi-generator-mill-plugin/src/test/scala/org/openapitools/generator/mill/MillOpenapiModuleTest.scala index a0ff5a77ff31..7757c25d05f5 100644 --- a/modules/openapi-generator-mill-plugin/src/test/scala/org/openapitools/generator/mill/MillOpenapiModuleTest.scala +++ b/modules/openapi-generator-mill-plugin/src/test/scala/org/openapitools/generator/mill/MillOpenapiModuleTest.scala @@ -95,7 +95,7 @@ class MillOpenapiModuleTest extends Matchers { eval.apply(MillOpenapiModuleTestRoot.petstoreMicroprofile.compile) } - result shouldBe a[Right[_, _]] + result shouldBe a[Right[?, ?]] } @Test @@ -104,6 +104,6 @@ class MillOpenapiModuleTest extends Matchers { // execute 'compile` task eval.apply(MillOpenapiModuleTestRoot.petstoreInvalid.compile) } - result shouldBe a[Left[_, _]] + result shouldBe a[Left[?, ?]] } }