Revert "Unspecified project axis means current project or its build"

This reverts commit 4fea604759.
This commit is contained in:
Eugene Yokota 2016-11-29 05:59:18 -05:00
parent 26bdccd80f
commit 39ad8cfb7d
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ object ParseKey extends Properties("Key parser test") {
parseExpected(structure, string, expected, mask)
}
property("An unspecified project axis resolves to the current project or the build of the current project") =
property("An unspecified project axis resolves to the current project") =
forAllNoShrink(structureDefinedKey) { (skm: StructureKeyMask) =>
import skm.{ structure, key }
@ -43,7 +43,7 @@ object ParseKey extends Properties("Key parser test") {
("Current: " + structure.current) |:
parse(structure, string) {
case Left(err) => false
case Right(sk) => sk.scope.project == Select(structure.current) || sk.scope.project == Select(BuildRef(structure.current.build))
case Right(sk) => sk.scope.project == Select(structure.current)
}
}