Pārlūkot izejas kodu

[Console] fixed tests

Fabien Potencier 15 gadi atpakaļ
vecāks
revīzija
a36a2c955b

+ 1 - 1
tests/fixtures/Symfony/Components/Console/application_astext1.txt

@@ -12,7 +12,7 @@
   <info>--no-interaction</info> <info>-n</info>  Do not ask any interactive question.
 
 <comment>Available commands:</comment>
-  <info>help  </info> Displays help for a command
+  <info>help  </info> Displays help for a command<comment> (?)</comment>
   <info>list  </info> Lists commands
 <comment>foo</comment>
   <info>:bar  </info> The foo:bar command<comment> (afoobar)</comment>

+ 3 - 1
tests/fixtures/Symfony/Components/Console/application_asxml1.txt

@@ -11,7 +11,9 @@
  You can also output the help as XML by using the &lt;comment&gt;--xml&lt;/comment&gt; option:
  
    &lt;info&gt;./symfony help --xml test:all&lt;/info&gt;</help>
-  <aliases/>
+  <aliases>
+    <alias>?</alias>
+  </aliases>
   <arguments>
     <argument name="command_name" is_required="0" is_array="0">
       <description>The command name</description>

+ 1 - 1
tests/fixtures/Symfony/Components/Console/application_run1.txt

@@ -12,5 +12,5 @@ Options:
   --no-interaction -n  Do not ask any interactive question.
 
 Available commands:
-  help   Displays help for a command
+  help   Displays help for a command (?)
   list   Lists commands

+ 1 - 0
tests/fixtures/Symfony/Components/Console/application_run2.txt

@@ -1,6 +1,7 @@
 Usage:
  UNKNOWN help [--xml] [-h|--help] [-q|--quiet] [-v|--verbose] [-V|--version] [-c|--color] [-n|--no-interaction] command [command_name]
 
+Aliases: ?
 Arguments:
  command           The command to execute
  command_name      The command name (default: help)