Skip to content

Commit

Permalink
Update build.sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Feb 5, 2025
1 parent 00bd05f commit 8203177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbt-test/UnmooredDocComment/test-1/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ThisBuild / scalafixDependencies += "com.github.xuwei-k" %% "scalafix-rules" % sys.props("scalafix-rules.version")

TaskKey[Unit]("check") := {
def f(x: String) = JsonParser.parse(IO.read(file(x))).fold(sys.error(_), identity)
def f(x: String) = argonaut.JsonParser.parse(IO.read(file(x))).fold(sys.error(_), identity)
val actual = f("target/warnings/warnings.json")
val expect = f("expect.json")
assert(actual == expect, s"${actual} != ${expect}")
Expand Down

0 comments on commit 8203177

Please sign in to comment.