diff --git a/figlet4s-core/src/main/scala/com/colofabrix/scala/figlet4s/core/LibraryLocation.scala b/figlet4s-core/src/main/scala/com/colofabrix/scala/figlet4s/core/LibraryLocation.scala index d3a7998..cc910db 100644 --- a/figlet4s-core/src/main/scala/com/colofabrix/scala/figlet4s/core/LibraryLocation.scala +++ b/figlet4s-core/src/main/scala/com/colofabrix/scala/figlet4s/core/LibraryLocation.scala @@ -27,7 +27,7 @@ private[figlet4s] object LibraryLocation { .getProtectionDomain .getCodeSource .getLocation - .toURI + .toURI, ) resources match { diff --git a/figlet4s-core/src/test/scala/com/colofabrix/scala/figlet4s/unsafe/UnsafeFiglet4sSpecs.scala b/figlet4s-core/src/test/scala/com/colofabrix/scala/figlet4s/unsafe/UnsafeFiglet4sSpecs.scala index 92e7fb7..1c462a0 100644 --- a/figlet4s-core/src/test/scala/com/colofabrix/scala/figlet4s/unsafe/UnsafeFiglet4sSpecs.scala +++ b/figlet4s-core/src/test/scala/com/colofabrix/scala/figlet4s/unsafe/UnsafeFiglet4sSpecs.scala @@ -187,7 +187,7 @@ class UnsafeFiglet4sSpecs extends AnyFlatSpec with Matchers with Figlet4sMatcher LibraryLocation.discover[cats.Id] match { case LibraryLocation.Jar(_) => // NOTE: I do not know how I can ever test this section if not by publishing locally - val regex = "^([^/]+/|)[^/]+$".r + val regex = "^([^/]+/|)[^/]+$".r val separator = "/" (regex, separator) case LibraryLocation.FileSystem(_, separator) =>