Skip to content

Commit eb4193f

Browse files
committed
[#2398] Minor tweak for dialog helper test
1 parent 61b0787 commit eb4193f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/console/helpers/dialoghelper.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ in the last argument. Using ``false`` means the amount of attempts is infinite.
9999
The user will be asked as long as he provides an invalid answer and will only
100100
be able to proceed if her input is valid.
101101

102-
Testing a command which expects input
102+
Testing a Command which expects input
103103
-------------------------------------
104104

105105
If you want to write a unit test for a command which expects some kind of input
@@ -133,7 +133,7 @@ from the command line, you need to overwrite the HelperSet used by the command::
133133
return $stream;
134134
}
135135
136-
By setting the inputStream of the `DialogHelper`, you do the same the
136+
By setting the inputStream of the ``DialogHelper``, you imitate what the
137137
console would do internally with all user input through the cli. This way
138138
you can test any user interaction (even complex ones) by passing an appropriate
139139
input stream.

0 commit comments

Comments
 (0)