1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-10-31 07:04:12 +00:00

#899: Support -y/--yeah command line args in Fish Shell (#900)

This commit is contained in:
Pablo Aguiar
2019-04-24 18:17:52 +02:00
committed by Vladimir Iakovlev
parent 55cb3546df
commit 40ab4eb62d
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import pytest
from thefuck.const import ARGUMENT_PLACEHOLDER
from thefuck.shells import Fish
@@ -82,6 +83,7 @@ class TestFish(object):
assert 'TF_SHELL=fish' in shell.app_alias('fuck')
assert 'TF_ALIAS=fuck PYTHONIOENCODING' in shell.app_alias('fuck')
assert 'PYTHONIOENCODING=utf-8 thefuck' in shell.app_alias('fuck')
assert ARGUMENT_PLACEHOLDER in shell.app_alias('fuck')
def test_app_alias_alter_history(self, settings, shell):
settings.alter_history = True