1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-09-19 03:32:31 +01:00

Support hub as well as git in @git_support

This commit is contained in:
mcarton
2015-07-21 15:06:04 +02:00
parent 66e2ec7e3f
commit 903abff77e
3 changed files with 26 additions and 4 deletions

View File

@@ -20,5 +20,5 @@ def test_match(stderr):
def test_get_new_command(stderr):
assert get_new_command(Command(stderr=stderr), None)\
assert get_new_command(Command('git push', stderr=stderr), None)\
== "git push --set-upstream origin master"