Skip to content

Commit c804b46

Browse files
fix scalac compiler deprecation warnings in test for the mill-plugin (#22946)
1 parent 96bfa52 commit c804b46

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/openapi-generator-mill-plugin/src/test/scala/org/openapitools/generator/mill/MillOpenapiModuleTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class MillOpenapiModuleTest extends Matchers {
9595
eval.apply(MillOpenapiModuleTestRoot.petstoreMicroprofile.compile)
9696
}
9797

98-
result shouldBe a[Right[_, _]]
98+
result shouldBe a[Right[?, ?]]
9999
}
100100

101101
@Test
@@ -104,6 +104,6 @@ class MillOpenapiModuleTest extends Matchers {
104104
// execute 'compile` task
105105
eval.apply(MillOpenapiModuleTestRoot.petstoreInvalid.compile)
106106
}
107-
result shouldBe a[Left[_, _]]
107+
result shouldBe a[Left[?, ?]]
108108
}
109109
}

0 commit comments

Comments
 (0)