diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-15 11:39:00 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-15 11:43:48 -0800 |
commit | e5c313e12faf3ccf90aa7f69eb2eb16f8add782f (patch) | |
tree | 707bb843399219177023e43e680b6f0ad45544ec /core/src/test/scala/mill/util/TestGraphs.scala | |
parent | 09bdc885cf6d07a531e78827f168affb31fa90b5 (diff) | |
download | mill-e5c313e12faf3ccf90aa7f69eb2eb16f8add782f.tar.gz mill-e5c313e12faf3ccf90aa7f69eb2eb16f8add782f.tar.bz2 mill-e5c313e12faf3ccf90aa7f69eb2eb16f8add782f.zip |
Add some test cases for nested target discovery, which also implicitly tests nested module discovery
Diffstat (limited to 'core/src/test/scala/mill/util/TestGraphs.scala')
-rw-r--r-- | core/src/test/scala/mill/util/TestGraphs.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/test/scala/mill/util/TestGraphs.scala b/core/src/test/scala/mill/util/TestGraphs.scala index 2a1a966b..54c8d815 100644 --- a/core/src/test/scala/mill/util/TestGraphs.scala +++ b/core/src/test/scala/mill/util/TestGraphs.scala @@ -107,8 +107,6 @@ class TestGraphs(){ } val j = test(test.anon(i), test.anon(i, f), test.anon(f)) } -} -object TestGraphs{ // _ left _ // / \ // task1 -------- right @@ -122,7 +120,10 @@ object TestGraphs{ def right = T{ task1() + task2() + left() + 1 } } +} + +object TestGraphs{ // _ left _ // / \ // task -------- right |