File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
modules/integration/src/test/scala/scala/cli/integration Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -259,14 +259,11 @@ abstract class BspTestDefinitions extends ScalaCliSuite
259259
260260 val compileProducts = os.walk(classDir).filter(os.isFile(_)).map(_.relativeTo(classDir))
261261
262- if (actualScalaVersion.startsWith(" 3." )) {
263- val s = os.rel / " simple$_.class"
264- expect(compileProducts.contains(s))
265- }
266- else {
267- val s = os.rel / " simple$.class"
268- expect(compileProducts.contains(s))
269- }
262+ val classFilePath = os.rel /
263+ if (actualScalaVersion.startsWith(" 3." ))
264+ then " simple$_.class"
265+ else " simple$.class"
266+ expect(compileProducts.contains(classFilePath))
270267
271268 val relPath = os.rel / " META-INF" / " semanticdb" / " simple.sc.semanticdb"
272269 expect(compileProducts.contains(relPath))
You can’t perform that action at this time.
0 commit comments