summaryrefslogtreecommitdiff
path: root/core/src/test
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2017-11-26 17:34:37 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2017-11-26 17:34:37 -0800
commiteb0f0a5c4426f218a7f2c4972831a0b3d048e500 (patch)
tree5a8cf871dd25d5fa83b147620dd8f7b51cdba6fa /core/src/test
parentdb5cdae1f80fd89ba87ed397abf08eff8b771469 (diff)
downloadmill-eb0f0a5c4426f218a7f2c4972831a0b3d048e500.tar.gz
mill-eb0f0a5c4426f218a7f2c4972831a0b3d048e500.tar.bz2
mill-eb0f0a5c4426f218a7f2c4972831a0b3d048e500.zip
Fix error messages on resolving cross-built modules and re-enable relevant neg tests
Diffstat (limited to 'core/src/test')
-rw-r--r--core/src/test/scala/mill/main/MainTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/test/scala/mill/main/MainTests.scala b/core/src/test/scala/mill/main/MainTests.scala
index 75403e17..a4fd7011 100644
--- a/core/src/test/scala/mill/main/MainTests.scala
+++ b/core/src/test/scala/mill/main/MainTests.scala
@@ -44,8 +44,8 @@ object MainTests extends TestSuite{
'pos1 - check(singleCross, "cross[210].suffix", Right(singleCross.cross("210").suffix))
'pos2 - check(singleCross, "cross[211].suffix", Right(singleCross.cross("211").suffix))
'neg1 - check(singleCross, "cross[210].doesntExist", Left("Cannot resolve task cross[210].doesntExist"))
- // 'neg2 - check(outer, "cross[doesntExist].doesntExist", Left("Cannot resolve cross cross[doesntExist]"))
- // 'neg2 - check(outer, "cross[doesntExist].target", Left("Cannot resolve cross cross[doesntExist]"))
+ 'neg2 - check(singleCross, "cross[doesntExist].doesntExist", Left("Cannot resolve cross cross[doesntExist]"))
+ 'neg2 - check(singleCross, "cross[doesntExist].suffix", Left("Cannot resolve cross cross[doesntExist]"))
}
'double - {