Jelmer Vernooij %!s(int64=3) %!d(string=hai) anos
pai
achega
4756814d6c
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      dulwich/tests/test_ignore.py

+ 1 - 3
dulwich/tests/test_ignore.py

@@ -82,9 +82,7 @@ TRANSLATE_TESTS = [
     (b"**/bla.c", b"(?ms)(.*/)?bla\\.c/?\\Z"),
     (b"foo/**/bar", b"(?ms)foo(/.*)?\\/bar/?\\Z"),
     (b"foo/bar/*", b"(?ms)foo\\/bar\\/[^/]+/?\\Z"),
-    (b"/foo\[bar\]", b"(?ms)foo\\[bar\\]/?\\Z"),
-    (b"/foo\[bar\]", b"(?ms)foo\\[bar\\]/?\\Z"),
-    (b"/foo\[bar\]", b"(?ms)foo\\[bar\\]/?\\Z"),
+    (b"/foo\\[bar\\]", b"(?ms)foo\\[bar\\]/?\\Z"),
     (b"/foo[bar]", b"(?ms)foo[bar]/?\\Z"),
     (b"/foo[0-9]", b"(?ms)foo[0-9]/?\\Z"),
 ]