diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-17 23:41:39 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-17 23:45:43 -0800 |
commit | 0013898d7628980f920dba7eed68153b36fd26fb (patch) | |
tree | 04306367d8e1a95817dcaf39ae4302d51b629432 /core | |
parent | 6c66864dd45cb1f12524f9645b2c9158e5e0b592 (diff) | |
download | mill-0013898d7628980f920dba7eed68153b36fd26fb.tar.gz mill-0013898d7628980f920dba7eed68153b36fd26fb.tar.bz2 mill-0013898d7628980f920dba7eed68153b36fd26fb.zip |
Update resolution tests in `MainTests.scala`
Added test cases for new "Did you mean...", "Try `mill.resolve ...`" hints
Diffstat (limited to 'core')
-rw-r--r-- | core/src/mill/eval/Evaluator.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/mill/eval/Evaluator.scala b/core/src/mill/eval/Evaluator.scala index 0a2ec6d8..23a06cc2 100644 --- a/core/src/mill/eval/Evaluator.scala +++ b/core/src/mill/eval/Evaluator.scala @@ -71,7 +71,7 @@ case class Evaluator[T](outPath: Path, val additional = if (finalTaskOverrides == t.ctx.overrides) Nil - else Seq(Segment.Label("overriden"), Segment.Label(t.ctx.enclosing)) + else Seq(Segment.Label("overriden")) ++ t.ctx.enclosing.split('.').map(Segment.Label) Right(Labelled(t, segments ++ additional)) case t if goals.contains(t) => Left(t) |