diff options
author | Florian Weikert <fwe@google.com> | 2015-07-20 13:52:26 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2015-07-21 15:13:37 -0400 |
commit | b04765a2172b5dfa65fa46817734c65e7d0f99e0 (patch) | |
tree | 0390b5f1da0572d9ce4b401883c60fc2b57c5b4f /src/test/java/com/google/devtools/build | |
parent | 0cde9cb2cfba22f07c130703643e0b2b83bd7f93 (diff) |
Removed ValidationTests#testLoadWithTooManySlashes() since it was an inferior copy of ParserTest#testLoadDoubleSlashBuild() and ParserTest#testLoadDoubleSlashSkylark()
--
MOS_MIGRATED_REVID=98636093
Diffstat (limited to 'src/test/java/com/google/devtools/build')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/syntax/ValidationTests.java | 12 |
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"); } |