From b04765a2172b5dfa65fa46817734c65e7d0f99e0 Mon Sep 17 00:00:00 2001 From: Florian Weikert Date: Mon, 20 Jul 2015 13:52:26 +0000 Subject: Removed ValidationTests#testLoadWithTooManySlashes() since it was an inferior copy of ParserTest#testLoadDoubleSlashBuild() and ParserTest#testLoadDoubleSlashSkylark() -- MOS_MIGRATED_REVID=98636093 --- .../google/devtools/build/lib/syntax/ValidationTests.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/test/java/com/google/devtools/build') 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 @@ -315,18 +315,6 @@ public class ValidationTests extends EvaluationTestCase { parse("len([1, 2]) == 0 and False"); } - @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"); -- cgit v1.2.3