mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 15:12:20 +00:00 
			
		
		
		
	Fix tests
This commit is contained in:
		| @@ -74,7 +74,7 @@ def test_get_command(): | |||||||
|  |  | ||||||
| def test_get_matched_rule(): | def test_get_matched_rule(): | ||||||
|     rules = [main.Rule(lambda x, _: x.script == 'cd ..', None), |     rules = [main.Rule(lambda x, _: x.script == 'cd ..', None), | ||||||
|              main.Rule(lambda _, _: False, None)] |              main.Rule(lambda *_: False, None)] | ||||||
|     assert main.get_matched_rule(main.Command('ls', '', ''), |     assert main.get_matched_rule(main.Command('ls', '', ''), | ||||||
|                                  rules, None) is None |                                  rules, None) is None | ||||||
|     assert main.get_matched_rule(main.Command('cd ..', '', ''), |     assert main.get_matched_rule(main.Command('cd ..', '', ''), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user