mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 01:15:37 +08:00
Merge branch 'main' of https://github.com/crazywhalecc/static-php-cli into zig
This commit is contained in:
@@ -78,11 +78,6 @@ class ExtensionTest extends TestCase
|
||||
}
|
||||
}
|
||||
|
||||
public function testGetLibFilesString()
|
||||
{
|
||||
$this->assertStringEndsWith('libonig.a', $this->extension->getLibFilesString());
|
||||
}
|
||||
|
||||
public function testGetName()
|
||||
{
|
||||
$this->assertEquals('mbregex', $this->extension->getName());
|
||||
|
||||
@@ -54,7 +54,7 @@ class SPCConfigUtilTest extends TestCase
|
||||
$this->assertStringContainsString('-lphp', $result['libs']);
|
||||
|
||||
// has cpp
|
||||
$result = (new SPCConfigUtil())->config(['swoole']);
|
||||
$result = (new SPCConfigUtil())->config(['rar']);
|
||||
$this->assertStringContainsString(PHP_OS_FAMILY === 'Darwin' ? '-lc++' : '-lstdc++', $result['libs']);
|
||||
|
||||
// has mimalloc.o in lib dir
|
||||
|
||||
Reference in New Issue
Block a user