From a72845be2329dcffd51106ed19ff999293e44359 Mon Sep 17 00:00:00 2001 From: Tomas Gallucci Date: Sat, 4 Jul 2020 01:45:14 -0500 Subject: [PATCH] separate out matching tests so the pattern is clear for those who add matches in the future --- tests/rules/test_git_branch_flag_0_to_flag_dash_v.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/rules/test_git_branch_flag_0_to_flag_dash_v.py b/tests/rules/test_git_branch_flag_0_to_flag_dash_v.py index 3f3c8c79..21c1e021 100644 --- a/tests/rules/test_git_branch_flag_0_to_flag_dash_v.py +++ b/tests/rules/test_git_branch_flag_0_to_flag_dash_v.py @@ -8,8 +8,11 @@ def output(): return "" -def test_match(output): +def test_match_git_branch_0v(output): assert match(Command('git branch 0v', output)) + + +def test_matches_no__git_branch_0_anything(output): assert not match(Command('git branch -v', '')) assert not match(Command('ls', output))