Skip to content

Commit

Permalink
Scalameta: upgrade to v4.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Mar 29, 2024
1 parent 43f0a9b commit d6560dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Expand Up @@ -7,7 +7,7 @@ import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport._

object Dependencies {
val metaconfigV = "0.12.0"
val scalametaV = "4.9.2"
val scalametaV = "4.9.3"
val scalacheckV = "1.17.0"
val coursier = "2.1.2"
val munitV = "0.7.29"
Expand Down
19 changes: 8 additions & 11 deletions scalafmt-tests/src/test/scala/org/scalafmt/cli/CliTest.scala
Expand Up @@ -660,12 +660,10 @@ trait CliTestBehavior { this: AbstractCliTest =>
Seq(Array("--test", "--config-str", s"""{version="$version"}""")),
assertOut = out => {
assert(
out.contains(
s"foo.scala:2: error:$dialectError } expected but end of file found"
) &&
out.contains(
"error: ParseError=2"
)
out.contains(s"foo.scala:2: error:$dialectError") &&
out.contains("end of file") &&
out.contains("error: ParseError=2"),
out
)
}
)
Expand All @@ -686,11 +684,10 @@ trait CliTestBehavior { this: AbstractCliTest =>
ExitCode.ParseError,
assertOut = out => {
assert(
out.contains(
s"foo.scala:2: error:$dialectError } expected but end of file found"
) && out.contains(
"error: ParseError=2"
)
out.contains(s"foo.scala:2: error:$dialectError") &&
out.contains(s"end of file") &&
out.contains("error: ParseError=2"),
out
)
}
)
Expand Down

0 comments on commit d6560dc

Please sign in to comment.