mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
cs-fix
This commit is contained in:
parent
648c43cc7f
commit
566f6980ca
@ -104,7 +104,7 @@ class DownloaderTest extends TestCase
|
||||
{
|
||||
$filelist = Downloader::getFromFileList('fake-filelist', [
|
||||
'url' => 'https://fakecmd.com/filelist',
|
||||
'regex' => '/href="(?<file>filelist-(?<version>[^"]+)\\.tar\\.xz)"/',
|
||||
'regex' => '/href="(?<file>filelist-(?<version>[^"]+)\.tar\.xz)"/',
|
||||
]);
|
||||
$this->assertIsArray($filelist);
|
||||
$this->assertEquals('filelist-4.7.0.tar.xz', $filelist[1]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user