We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bce5e2 commit 32c19bfCopy full SHA for 32c19bf
tests/test_utils.py
@@ -5,6 +5,9 @@
5
6
def test_match():
7
assert match('my/ignored/path', None) is False
8
+ assert match('my/ignored/path', ['not']) is False
9
+ assert match('my/ignored/path', [re.compile('not ignored')]) is False
10
+
11
assert match('my/ignored/path', 'ignored')
12
assert match('my/ignored/path', ['not', 'ignored'])
13
assert match('my/ignored/path', [re.compile('not ignored'), re.compile('ignored')])
0 commit comments