8000 skip autocomplete test when stty is not available · symfony/symfony@86795d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 86795d4

Browse files
committed
skip autocomplete test when stty is not available
1 parent ceef101 commit 86795d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Console/Tests/Helper/QuestionHelperTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,10 @@ public function testTraversableMultiselectAutocomplete()
914914

915915
public function testAutocompleteMoveCursorBackwards()
916916
{
917+
if (!Terminal::hasSttyAvailable()) {
918+
$this->markTestSkipped('`stty` is required to test autocomplete functionality');
919+
}
920+
917921
// F<TAB><BACKSPACE><BACKSPACE><BACKSPACE>
918922
$inputStream = $this->getInputStream("F\t\177\177\177");
919923

0 commit comments

Comments
 (0)
0