Skip to content

Commit

Permalink
fix(unittest): search the exactly match string
Browse files Browse the repository at this point in the history
  • Loading branch information
cmj0121 committed Mar 25, 2022
1 parent 6d0c008 commit 2eee90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/missing.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
logger = logging.getLogger('missing')

class Missing:
RE_TEST_PY = re.compile(r'test.*?\.py')
RE_TEST_PY = re.compile(r'^test.*?\.py$')

def __init__(self, exclude):
if not (isinstance(exclude, list) or isinstance(exclude, tuple)):
Expand Down

0 comments on commit 2eee90d

Please sign in to comment.