From 667622b30798599a4bc4b865ff77f60a6d2ef16d Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Mon, 8 Jul 2024 17:04:05 +0200 Subject: [PATCH] chore: Fix tests after an improvement in zinc --- frontend/src/test/scala/bloop/BaseCompileSpec.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/test/scala/bloop/BaseCompileSpec.scala b/frontend/src/test/scala/bloop/BaseCompileSpec.scala index 7dba45821..326569b9d 100644 --- a/frontend/src/test/scala/bloop/BaseCompileSpec.scala +++ b/frontend/src/test/scala/bloop/BaseCompileSpec.scala @@ -845,13 +845,13 @@ abstract class BaseCompileSpec extends bloop.testing.BaseSuite { val supportsLocalCompilation = javax.tools.ToolProvider.getSystemJavaCompiler() != null if (supportsLocalCompilation) { - s"""|[E2] ${targetFoo}:3 + s"""|[E2] ${targetFoo}:3:19 | cannot find symbol | symbol: class Bar | location: class Foo | L3: Bar | ^^^ - |[E1] ${targetFoo}:3 + |[E1] ${targetFoo}:3:5 | cannot find symbol | symbol: class Bar | location: class Foo @@ -1100,7 +1100,7 @@ abstract class BaseCompileSpec extends bloop.testing.BaseSuite { val targetB = TestUtil.universalPath("a/src/B.java") val cannotFindSymbolError: String = { - s"""[E1] ${targetB}:1 + s"""[E1] ${targetB}:1:24 | cannot find symbol | symbol: class A | L1: A @@ -1205,7 +1205,7 @@ abstract class BaseCompileSpec extends bloop.testing.BaseSuite { val targetService = TestUtil.universalPath("a/src/Service.java") assertNoDiff( logger.renderErrors(exceptContaining = "Failed to compile"), - s"""[E1] ${targetService}:4 + s"""[E1] ${targetService}:4:18 | incompatible types: int cannot be converted to java.lang.String | L4: 123 | ^^^