mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 22:54:14 +00:00 
			
		
		
		
	#N/A Make git_checkout test less dependent on get_closest
				
					
				
			This commit is contained in:
		| @@ -41,10 +41,10 @@ def test_not_match(command): | ||||
|      Command('git commit unknown', stderr=did_not_match('unknown')), | ||||
|      'git branch unknown && git commit unknown'), | ||||
|     (['master'], | ||||
|      Command(script='git checkout amster', stderr=did_not_match('amster')), | ||||
|      Command(script='git checkout mster', stderr=did_not_match('mster')), | ||||
|      'git checkout master'), | ||||
|     (['master'], | ||||
|      Command(script='git commit amster', stderr=did_not_match('amster')), | ||||
|      Command(script='git commit mster', stderr=did_not_match('mster')), | ||||
|      'git commit master')]) | ||||
| def test_get_new_command(branches, command, new_command, get_branches): | ||||
|     get_branches.return_value = branches | ||||
|   | ||||
		Reference in New Issue
	
	Block a user