annotate vendor/pear/console_commandline/tests/console_commandline_webrequest_1.phpt @ 47:121a341ecb84
use the systemwide source
| author |
Charlie Root |
| date |
Thu, 28 Aug 2025 10:59:24 -0400 |
| parents |
1e000243b222 |
| children |
|
| rev |
line source |
|
0
|
1 --TEST--
|
|
|
2 Test for Console_CommandLine::parse() with a web request 1
|
|
|
3 --GET--
|
|
|
4 version=1
|
|
|
5 --FILE--
|
|
|
6 <?php
|
|
|
7
|
|
|
8 require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'tests.inc.php';
|
|
|
9
|
|
|
10 $parser = buildParser1();
|
|
|
11 $parser->parse();
|
|
|
12
|
|
|
13 ?>
|
|
|
14 --EXPECT--
|
|
|
15 some_program version 0.1.0.
|