File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
main/scala/org/scalasteward/core/application
test/scala/org/scalasteward/core/application Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ final class SelfCheckAlg[F[_]](config: Config)(implicit
5252 .ifM(
5353 F .unit,
5454 logger.warn(
55- """
56- |The workspace is empty.
57- |This is expected if this is your first Scala Steward run.
58- |Make sure to preserve the workspace between runs for all features to work as expected.
59- |https://github.com/scala-steward-org/scala-steward/blob/main/docs/faq.md#why-doesnt-self-hosted-scala-steward-close-obsolete-prs
60- |""" .stripMargin
55+ s """
56+ |The workspace directory is empty: ' ${config.workspace} '
57+ |This is expected if this is your first Scala Steward run.
58+ |Make sure to preserve the workspace between runs for all features to work as expected.
59+ |https://github.com/scala-steward-org/scala-steward/blob/main/docs/faq.md#why-doesnt-self-hosted-scala-steward-close-obsolete-prs
60+ | """ .stripMargin
6161 )
6262 )
6363
Original file line number Diff line number Diff line change @@ -6,12 +6,8 @@ import org.scalasteward.core.mock.MockContext.context.stewardAlg
66import org .scalasteward .core .mock .MockState
77
88class StewardAlgTest extends CatsEffectSuite {
9-
109 test(" runF" ) {
11- val stateExit = stewardAlg.runF.runSA(MockState .empty)
12- assertIO(stateExit.map(_._2), ExitCode .Success ) *>
13- assertIOBoolean(
14- stateExit.map(_._1.trace.exists(te => te.toString.contains(" The workspace is empty" )))
15- )
10+ val exitCode = stewardAlg.runF.runA(MockState .empty)
11+ assertIO(exitCode, ExitCode .Success )
1612 }
1713}
You can’t perform that action at this time.
0 commit comments