From 5caf5d80363b2a46d2cd1b24d08c5ab259b53487 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 9 Feb 2022 16:52:21 +0100 Subject: [PATCH] [Console] fix tests --- Tests/Fixtures/application_1.json | 2 +- Tests/Fixtures/application_1.md | 2 +- Tests/Fixtures/application_1.xml | 2 +- Tests/Fixtures/application_2.json | 2 +- Tests/Fixtures/application_2.md | 2 +- Tests/Fixtures/application_2.xml | 2 +- Tests/Fixtures/application_mbstring.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Tests/Fixtures/application_1.json b/Tests/Fixtures/application_1.json index 280a4247e..f7e82fb12 100644 --- a/Tests/Fixtures/application_1.json +++ b/Tests/Fixtures/application_1.json @@ -120,7 +120,7 @@ "completion [--debug] [--] []" ], "description": "Dump the shell completion script", - "help": "The completion command dumps the shell completion script required\nto use shell autocompletion (currently only bash completion is supported).\n\nStatic installation\n-------------------\n\nDump the script to a global completion file and restart your shell:\n\n %%PHP_SELF%% completion bash | sudo tee /etc/bash_completion.d/%%COMMAND_NAME%%\n\nOr dump the script to a local file and source it:\n\n %%PHP_SELF%% completion bash > completion.sh\n\n # source the file whenever you use the project\n source completion.sh\n\n # or add this line at the end of your \"~/.bashrc\" file:\n source /path/to/completion.sh\n\nDynamic installation\n--------------------\n\nAdd this add the end of your shell configuration file (e.g. \"~/.bashrc\"):\n\n eval \"$(%%PHP_SELF_FULL%% completion bash)\"", + "help": "The completion command dumps the shell completion script required\nto use shell autocompletion (currently only bash completion is supported).\n\nStatic installation\n-------------------\n\nDump the script to a global completion file and restart your shell:\n\n %%PHP_SELF%% completion bash | sudo tee /etc/bash_completion.d/%%COMMAND_NAME%%\n\nOr dump the script to a local file and source it:\n\n %%PHP_SELF%% completion bash > completion.sh\n\n # source the file whenever you use the project\n source completion.sh\n\n # or add this line at the end of your \"~/.bashrc\" file:\n source /path/to/completion.sh\n\nDynamic installation\n--------------------\n\nAdd this to the end of your shell configuration file (e.g. \"~/.bashrc\"):\n\n eval \"$(%%PHP_SELF_FULL%% completion bash)\"", "definition": { "arguments": { "shell": { diff --git a/Tests/Fixtures/application_1.md b/Tests/Fixtures/application_1.md index 98474874d..0bef4ce31 100644 --- a/Tests/Fixtures/application_1.md +++ b/Tests/Fixtures/application_1.md @@ -37,7 +37,7 @@ Or dump the script to a local file and source it: Dynamic installation -------------------- -Add this add the end of your shell configuration file (e.g. "~/.bashrc"): +Add this to the end of your shell configuration file (e.g. "~/.bashrc"): eval "$(%%PHP_SELF_FULL%% completion bash)" diff --git a/Tests/Fixtures/application_1.xml b/Tests/Fixtures/application_1.xml index 5a1722934..c35d8bac9 100644 --- a/Tests/Fixtures/application_1.xml +++ b/Tests/Fixtures/application_1.xml @@ -76,7 +76,7 @@ <comment>Dynamic installation --------------------</> - Add this add the end of your shell configuration file (e.g. <info>"~/.bashrc"</>): + Add this to the end of your shell configuration file (e.g. <info>"~/.bashrc"</>): <info>eval "$(%%PHP_SELF_FULL%% completion bash)"</> diff --git a/Tests/Fixtures/application_2.json b/Tests/Fixtures/application_2.json index 89171150c..c5b728c6d 100644 --- a/Tests/Fixtures/application_2.json +++ b/Tests/Fixtures/application_2.json @@ -124,7 +124,7 @@ "completion [--debug] [--] []" ], "description": "Dump the shell completion script", - "help": "The completion command dumps the shell completion script required\nto use shell autocompletion (currently only bash completion is supported).\n\nStatic installation\n-------------------\n\nDump the script to a global completion file and restart your shell:\n\n %%PHP_SELF%% completion bash | sudo tee /etc/bash_completion.d/%%COMMAND_NAME%%\n\nOr dump the script to a local file and source it:\n\n %%PHP_SELF%% completion bash > completion.sh\n\n # source the file whenever you use the project\n source completion.sh\n\n # or add this line at the end of your \"~/.bashrc\" file:\n source /path/to/completion.sh\n\nDynamic installation\n--------------------\n\nAdd this add the end of your shell configuration file (e.g. \"~/.bashrc\"):\n\n eval \"$(%%PHP_SELF_FULL%% completion bash)\"", + "help": "The completion command dumps the shell completion script required\nto use shell autocompletion (currently only bash completion is supported).\n\nStatic installation\n-------------------\n\nDump the script to a global completion file and restart your shell:\n\n %%PHP_SELF%% completion bash | sudo tee /etc/bash_completion.d/%%COMMAND_NAME%%\n\nOr dump the script to a local file and source it:\n\n %%PHP_SELF%% completion bash > completion.sh\n\n # source the file whenever you use the project\n source completion.sh\n\n # or add this line at the end of your \"~/.bashrc\" file:\n source /path/to/completion.sh\n\nDynamic installation\n--------------------\n\nAdd this to the end of your shell configuration file (e.g. \"~/.bashrc\"):\n\n eval \"$(%%PHP_SELF_FULL%% completion bash)\"", "definition": { "arguments": { "shell": { diff --git a/Tests/Fixtures/application_2.md b/Tests/Fixtures/application_2.md index 265e7117f..2fa9a2208 100644 --- a/Tests/Fixtures/application_2.md +++ b/Tests/Fixtures/application_2.md @@ -50,7 +50,7 @@ Or dump the script to a local file and source it: Dynamic installation -------------------- -Add this add the end of your shell configuration file (e.g. "~/.bashrc"): +Add this to the end of your shell configuration file (e.g. "~/.bashrc"): eval "$(%%PHP_SELF_FULL%% completion bash)" diff --git a/Tests/Fixtures/application_2.xml b/Tests/Fixtures/application_2.xml index cdd3d8943..a217999a8 100644 --- a/Tests/Fixtures/application_2.xml +++ b/Tests/Fixtures/application_2.xml @@ -76,7 +76,7 @@ <comment>Dynamic installation --------------------</> - Add this add the end of your shell configuration file (e.g. <info>"~/.bashrc"</>): + Add this to the end of your shell configuration file (e.g. <info>"~/.bashrc"</>): <info>eval "$(%%PHP_SELF_FULL%% completion bash)"</> diff --git a/Tests/Fixtures/application_mbstring.md b/Tests/Fixtures/application_mbstring.md index 2e6fc5f69..740ea5c20 100644 --- a/Tests/Fixtures/application_mbstring.md +++ b/Tests/Fixtures/application_mbstring.md @@ -41,7 +41,7 @@ Or dump the script to a local file and source it: Dynamic installation -------------------- -Add this add the end of your shell configuration file (e.g. "~/.bashrc"): +Add this to the end of your shell configuration file (e.g. "~/.bashrc"): eval "$(%%PHP_SELF_FULL%% completion bash)"