From 7ead16fb5e8ee58576524cb5661c33533e6cd888 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sun, 16 Jun 2019 18:50:06 -0700 Subject: utest 0.7.1 --- scalalib/test/src/scalafmt/ScalafmtTests.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scalalib/test/src/scalafmt') 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)))) } } -- cgit v1.2.3