mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 07:04:12 +00:00 
			
		
		
		
	#369 Fix git_fix_stash fails when script is just git
				
					
				
			This commit is contained in:
		| @@ -23,6 +23,10 @@ def test_match(wrong): | ||||
|     assert match(Command(wrong, stderr=git_stash_err)) | ||||
|  | ||||
|  | ||||
| def test_not_match(): | ||||
|     assert not match(Command("git", stderr=git_stash_err)) | ||||
|  | ||||
|  | ||||
| @pytest.mark.parametrize('wrong,fixed', [ | ||||
|     ('git stash opp', 'git stash pop'), | ||||
|     ('git stash Some message', 'git stash save Some message'), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user