mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-21 20:38:54 +00:00
Check arguments are preserved in git_push
This commit is contained in:
parent
612c393ec4
commit
5df350254e
@ -23,3 +23,5 @@ def test_match(stderr):
|
|||||||
def test_get_new_command(stderr):
|
def test_get_new_command(stderr):
|
||||||
assert get_new_command(Command('git push', stderr=stderr))\
|
assert get_new_command(Command('git push', stderr=stderr))\
|
||||||
== "git push --set-upstream origin master"
|
== "git push --set-upstream origin master"
|
||||||
|
assert get_new_command(Command('git push --quiet', stderr=stderr))\
|
||||||
|
== "git push --set-upstream origin master --quiet"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user