mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-29 22:24:44 +00:00 
			
		
		
		
	Check git_push matches without specifying a branch
This commit is contained in:
		| @@ -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)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user