mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 02:01:13 +00:00
Test that git push -u origin
still works
This was broken by https://github.com/nvbn/thefuck/pull/538
This commit is contained in:
parent
9660ec7813
commit
934eeaf4fc
@ -23,5 +23,9 @@ def test_match(stderr):
|
||||
def test_get_new_command(stderr):
|
||||
assert get_new_command(Command('git push', stderr=stderr))\
|
||||
== "git push --set-upstream origin master"
|
||||
assert get_new_command(Command('git push -u origin', stderr=stderr))\
|
||||
== "git push --set-upstream origin master"
|
||||
assert get_new_command(Command('git push --set-upstream origin', stderr=stderr))\
|
||||
== "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