mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-19 09:08:47 +00:00
Add test for fish aliasing
This commit is contained in:
parent
04a3f79606
commit
cc55ae6480
@ -43,7 +43,8 @@ class TestFish(object):
|
|||||||
('open', 'open'),
|
('open', 'open'),
|
||||||
('vim', 'vim'),
|
('vim', 'vim'),
|
||||||
('ll', 'fish -ic "ll"'),
|
('ll', 'fish -ic "ll"'),
|
||||||
('ls', 'ls')]) # Fish has no aliases but functions
|
('ls', 'ls'),
|
||||||
|
('g', 'git')])
|
||||||
def test_from_shell(self, before, after, shell):
|
def test_from_shell(self, before, after, shell):
|
||||||
assert shell.from_shell(before) == after
|
assert shell.from_shell(before) == after
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user