/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Console/Tests/Completion/Output/FishCompletionOutputTest.php
33 строки
967 B
Adriaan Zonnenberg
[Console] Add descriptions to Fish completion output
21 фев 2024, 18:47
21 фев 2024, 18:47
1cfd6df
Код
Авторство
О чём код?
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Console\Tests\Completion\Output; use Symfony\Component\Console\Completion\Output\CompletionOutputInterface; use Symfony\Component\Console\Completion\Output\FishCompletionOutput; class FishCompletionOutputTest extends CompletionOutputTestCase { public function getCompletionOutput(): CompletionOutputInterface { return new FishCompletionOutput(); } public function getExpectedOptionsOutput(): string { return "--option1\tFirst Option\n--negatable\tCan be negative\n--no-negatable\tCan be negative"; } public function getExpectedValuesOutput(): string { return "Green\tBeans are green\nRed\tRose are red\nYellow\tCanaries are yellow"; } }