summaryrefslogtreecommitdiff
path: root/scalalib/test/src/scalafmt
diff options
context:
space:
mode:
Diffstat (limited to 'scalalib/test/src/scalafmt')
-rw-r--r--scalalib/test/src/scalafmt/ScalafmtTests.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/scalalib/test/src/scalafmt/ScalafmtTests.scala b/scalalib/test/src/scalafmt/ScalafmtTests.scala
index dcbdb769..c9a7ffdd 100644
--- a/scalalib/test/src/scalafmt/ScalafmtTests.scala
+++ b/scalalib/test/src/scalafmt/ScalafmtTests.scala
@@ -34,7 +34,7 @@ object ScalafmtTests extends TestSuite {
}
def tests: Tests = Tests {
- 'scalafmt - {
+ test("scalafmt"){
def checkReformat(reformatCommand: mill.define.Command[Unit]) =
workspaceTest(ScalafmtTestModule) { eval =>
val before = getProjectFiles(ScalafmtTestModule.core, eval)
@@ -82,8 +82,8 @@ object ScalafmtTests extends TestSuite {
)
}
- 'reformat - checkReformat(ScalafmtTestModule.core.reformat())
- 'reformatAll - checkReformat(
+ test("reformat") - checkReformat(ScalafmtTestModule.core.reformat())
+ test("reformatAll") - checkReformat(
ScalafmtModule.reformatAll(Tasks(Seq(ScalafmtTestModule.core.sources))))
}
}