diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2019-06-16 18:50:06 -0700 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2019-06-16 18:50:06 -0700 |
commit | 7ead16fb5e8ee58576524cb5661c33533e6cd888 (patch) | |
tree | 89d0d9512cdf74e89e7ba42f35206a40b8980e8a /scalalib/test/src/scalafmt | |
parent | 158d117d7e92a4705fdd783952032bdc14bf92e8 (diff) | |
download | mill-7ead16fb5e8ee58576524cb5661c33533e6cd888.tar.gz mill-7ead16fb5e8ee58576524cb5661c33533e6cd888.tar.bz2 mill-7ead16fb5e8ee58576524cb5661c33533e6cd888.zip |
utest 0.7.1
Diffstat (limited to 'scalalib/test/src/scalafmt')
-rw-r--r-- | scalalib/test/src/scalafmt/ScalafmtTests.scala | 6 |
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)))) } } |