Skip to content

Commit

Permalink
[Console] fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Feb 9, 2022
1 parent a6d8f85 commit 5caf5d8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Tests/Fixtures/application_1.json
Expand Up @@ -120,7 +120,7 @@
"completion [--debug] [--] [<shell>]"
],
"description": "Dump the shell completion script",
"help": "The <info>completion</> command dumps the shell completion script required\nto use shell autocompletion (currently only bash completion is supported).\n\n<comment>Static installation\n-------------------</>\n\nDump the script to a global completion file and restart your shell:\n\n <info>%%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 <info>%%PHP_SELF%% completion bash > completion.sh</>\n\n <comment># source the file whenever you use the project</>\n <info>source completion.sh</>\n\n <comment># or add this line at the end of your \"~/.bashrc\" file:</>\n <info>source /path/to/completion.sh</>\n\n<comment>Dynamic installation\n--------------------</>\n\nAdd this add the end of your shell configuration file (e.g. <info>\"~/.bashrc\"</>):\n\n <info>eval \"$(%%PHP_SELF_FULL%% completion bash)\"</>",
"help": "The <info>completion</> command dumps the shell completion script required\nto use shell autocompletion (currently only bash completion is supported).\n\n<comment>Static installation\n-------------------</>\n\nDump the script to a global completion file and restart your shell:\n\n <info>%%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 <info>%%PHP_SELF%% completion bash > completion.sh</>\n\n <comment># source the file whenever you use the project</>\n <info>source completion.sh</>\n\n <comment># or add this line at the end of your \"~/.bashrc\" file:</>\n <info>source /path/to/completion.sh</>\n\n<comment>Dynamic installation\n--------------------</>\n\nAdd this to the end of your shell configuration file (e.g. <info>\"~/.bashrc\"</>):\n\n <info>eval \"$(%%PHP_SELF_FULL%% completion bash)\"</>",
"definition": {
"arguments": {
"shell": {
Expand Down
2 changes: 1 addition & 1 deletion Tests/Fixtures/application_1.md
Expand Up @@ -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)"

Expand Down
2 changes: 1 addition & 1 deletion Tests/Fixtures/application_1.xml
Expand Up @@ -76,7 +76,7 @@
&lt;comment&gt;Dynamic installation
--------------------&lt;/&gt;

Add this add the end of your shell configuration file (e.g. &lt;info&gt;"~/.bashrc"&lt;/&gt;):
Add this to the end of your shell configuration file (e.g. &lt;info&gt;"~/.bashrc"&lt;/&gt;):

&lt;info&gt;eval "$(%%PHP_SELF_FULL%% completion bash)"&lt;/&gt;</help>
<arguments>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Fixtures/application_2.json
Expand Up @@ -124,7 +124,7 @@
"completion [--debug] [--] [<shell>]"
],
"description": "Dump the shell completion script",
"help": "The <info>completion</> command dumps the shell completion script required\nto use shell autocompletion (currently only bash completion is supported).\n\n<comment>Static installation\n-------------------</>\n\nDump the script to a global completion file and restart your shell:\n\n <info>%%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 <info>%%PHP_SELF%% completion bash > completion.sh</>\n\n <comment># source the file whenever you use the project</>\n <info>source completion.sh</>\n\n <comment># or add this line at the end of your \"~/.bashrc\" file:</>\n <info>source /path/to/completion.sh</>\n\n<comment>Dynamic installation\n--------------------</>\n\nAdd this add the end of your shell configuration file (e.g. <info>\"~/.bashrc\"</>):\n\n <info>eval \"$(%%PHP_SELF_FULL%% completion bash)\"</>",
"help": "The <info>completion</> command dumps the shell completion script required\nto use shell autocompletion (currently only bash completion is supported).\n\n<comment>Static installation\n-------------------</>\n\nDump the script to a global completion file and restart your shell:\n\n <info>%%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 <info>%%PHP_SELF%% completion bash > completion.sh</>\n\n <comment># source the file whenever you use the project</>\n <info>source completion.sh</>\n\n <comment># or add this line at the end of your \"~/.bashrc\" file:</>\n <info>source /path/to/completion.sh</>\n\n<comment>Dynamic installation\n--------------------</>\n\nAdd this to the end of your shell configuration file (e.g. <info>\"~/.bashrc\"</>):\n\n <info>eval \"$(%%PHP_SELF_FULL%% completion bash)\"</>",
"definition": {
"arguments": {
"shell": {
Expand Down
2 changes: 1 addition & 1 deletion Tests/Fixtures/application_2.md
Expand Up @@ -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)"

Expand Down
2 changes: 1 addition & 1 deletion Tests/Fixtures/application_2.xml
Expand Up @@ -76,7 +76,7 @@
&lt;comment&gt;Dynamic installation
--------------------&lt;/&gt;

Add this add the end of your shell configuration file (e.g. &lt;info&gt;"~/.bashrc"&lt;/&gt;):
Add this to the end of your shell configuration file (e.g. &lt;info&gt;"~/.bashrc"&lt;/&gt;):

&lt;info&gt;eval "$(%%PHP_SELF_FULL%% completion bash)"&lt;/&gt;</help>
<arguments>
Expand Down
2 changes: 1 addition & 1 deletion Tests/Fixtures/application_mbstring.md
Expand Up @@ -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)"

Expand Down

0 comments on commit 5caf5d8

Please sign in to comment.