aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/google/devtools/build')
-rw-r--r--src/test/java/com/google/devtools/build/lib/syntax/ValidationTests.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/syntax/ValidationTests.java b/src/test/java/com/google/devtools/build/lib/syntax/ValidationTests.java
index d7b4316185..3326fec778 100644
--- a/src/test/java/com/google/devtools/build/lib/syntax/ValidationTests.java
+++ b/src/test/java/com/google/devtools/build/lib/syntax/ValidationTests.java
@@ -316,18 +316,6 @@ public class ValidationTests extends EvaluationTestCase {
}
@Test
- public void testLoadWithTooManySlashes() throws Exception {
- String error =
- "First argument of load() is a path, not a label. "
- + "It should start with a single slash if it is an absolute path.";
-
- checkError(error, "load('//', 'a')\n");
- checkError(error, "load('//extension', 'a')\n");
- checkError(error, "load('///', 'a')\n");
- checkError(error, "load('///extension', 'a')\n");
- }
-
- @Test
public void testLoadRelativePathOneSegment() throws Exception {
parse("load('extension', 'a')\n");
}