diff options
author | lberki <lberki@google.com> | 2017-07-10 13:35:26 +0200 |
---|---|---|
committer | László Csomor <laszlocsomor@google.com> | 2017-07-10 14:37:38 +0200 |
commit | f37d9aed11e7da6d69e731e8fb9b3023e09df4ac (patch) | |
tree | e23672ad44b4076e9cf87864bcb7279cd6f00266 /src/test/java/com | |
parent | 8a9be26492651afd8c71e5da98751e36d948b4e5 (diff) |
Remove the functionality from alias() to point nowhere.
It's never used and was broken anyway (see #getLabel()).
The functionality has been laying there unused since the initial checkin in unknown commit.
RELNOTES: None.
PiperOrigin-RevId: 161378717
Diffstat (limited to 'src/test/java/com')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/rules/AliasTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/rules/AliasTest.java b/src/test/java/com/google/devtools/build/lib/rules/AliasTest.java index 029998968f..075d4e7c4c 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/AliasTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/AliasTest.java @@ -247,4 +247,9 @@ public class AliasTest extends BuildViewTestCase { useConfiguration("--crosstool_top=//a:cc"); getConfiguredTarget("//a:a"); } + + @Test + public void testNoActual() throws Exception { + checkError("a", "a", "missing value for mandatory attribute 'actual'", "alias(name='a')"); + } } |