/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Console/Tests/Completion/Output/ZshCompletionOutputTest.php
33 строки
968 B
Jérôme Tamarelle
Finish Zsh completion
22 июл 2022, 00:24
22 июл 2022, 00:24
3c2e1a4
Код
Авторство
О чём код?
<?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\ZshCompletionOutput; class ZshCompletionOutputTest extends CompletionOutputTestCase { public function getCompletionOutput(): CompletionOutputInterface { return new ZshCompletionOutput(); } public function getExpectedOptionsOutput(): string { return "--option1\tFirst Option\n--negatable\tCan be negative\n--no-negatable\tCan be negative\n"; } public function getExpectedValuesOutput(): string { return "Green\tBeans are green\nRed\tRose are red\nYellow\tCanaries are yellow\n"; } }