Skip to content

Commit

Permalink
Add test_name_matches_pattern in tests_util
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanirvings authored and fushar committed Sep 9, 2022
1 parent 1bafb54 commit 687498d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/internal/tests_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
from util import name_matches_pattern


def test_name_matches_pattern(test_name, pattern):
return name_matches_pattern(test_name, pattern)


def test_name_pattern_matcher(pattern):
return lambda test_name: name_matches_pattern(test_name, pattern)

Expand Down

0 comments on commit 687498d

Please sign in to comment.