1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-21 04:18:55 +00:00

Fix tests

This commit is contained in:
nvbn 2015-04-08 21:22:59 +02:00
parent e7b377a310
commit 282217fd02

View File

@ -74,7 +74,7 @@ def test_get_command():
def test_get_matched_rule():
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', '', ''),
rules, None) is None
assert main.get_matched_rule(main.Command('cd ..', '', ''),