aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/vfs
diff options
context:
space:
mode:
authorGravatar Jonathan Bluett-Duncan <jbluettduncan@gmail.com>2017-06-21 16:37:42 +0200
committerGravatar Philipp Wollermann <philwo@google.com>2017-06-22 11:51:07 +0200
commit52c041762ce703a8bdb9b07e1d558b0d2460d2cc (patch)
tree729fda018553427d6d60f1c892d38d7d0eb7e414 /src/test/java/com/google/devtools/build/lib/vfs
parent9d9ac15b69530edd83c1b95f98a70efa8f98a27a (diff)
Allow "[", "]", "{", and "}" in globs in BUILD files. (#3048)
PR #2679 allowed parentheses ("(" and ")") in globs, but other bracket style characters were not allowed at the time. It was decided in issues #2583 and #3048 that other bracket characters should be allowed as well, since there is no apparent historical reason for disallowing them in the first place. Closes #3166. PiperOrigin-RevId: 159691498
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/vfs')
-rw-r--r--src/test/java/com/google/devtools/build/lib/vfs/GlobTest.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/vfs/GlobTest.java b/src/test/java/com/google/devtools/build/lib/vfs/GlobTest.java
index 138ff7a94b..5b0958fae1 100644
--- a/src/test/java/com/google/devtools/build/lib/vfs/GlobTest.java
+++ b/src/test/java/com/google/devtools/build/lib/vfs/GlobTest.java
@@ -229,8 +229,6 @@ public class GlobTest {
@Test
public void testIllegalPatterns() throws Exception {
- assertIllegalPattern("[illegal pattern");
- assertIllegalPattern("}illegal pattern");
assertIllegalPattern("foo**bar");
assertIllegalPattern("");
assertIllegalPattern(".");