diff --git a/scalafix-tests/unit/src/test/scala/scalafix/tests/reflect/ToolClasspathTests.scala b/scalafix-tests/unit/src/test/scala/scalafix/tests/reflect/ToolClasspathTests.scala index 04efc3c0a..55cd4ad57 100644 --- a/scalafix-tests/unit/src/test/scala/scalafix/tests/reflect/ToolClasspathTests.scala +++ b/scalafix-tests/unit/src/test/scala/scalafix/tests/reflect/ToolClasspathTests.scala @@ -49,7 +49,7 @@ class ToolClasspathTests extends FunSuite with BeforeAndAfterAll { val index = new LazySemanticdbIndex(toolClasspath = scalafmtClasspath) val decoder = ScalafixCompilerDecoder.baseCompilerDecoder(index) - val obtained = decoder.read(Conf.Str(tmp.toUri)).get + val obtained = decoder.read(Conf.Str(tmp.toUri.toString)).get val expectedName = "FormatRule" assert(obtained.name.value == expectedName) }