From 612c393ec4d964fb933ebf5b8f957ae573ae65ba Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Fri, 19 Aug 2016 22:19:09 +0100 Subject: [PATCH] Check git_push matches without specifying a branch --- tests/rules/test_git_push.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/rules/test_git_push.py b/tests/rules/test_git_push.py index 65b210a..4d85751 100644 --- a/tests/rules/test_git_push.py +++ b/tests/rules/test_git_push.py @@ -14,6 +14,7 @@ To push the current branch and set the remote as upstream, use def test_match(stderr): + assert match(Command('git push', stderr=stderr)) assert match(Command('git push master', stderr=stderr)) assert not match(Command('git push master')) assert not match(Command('ls', stderr=stderr))