move hasCpp to SPCConfigUtil

This commit is contained in:
henderkes
2025-09-30 00:12:59 +02:00
parent 8b2b658ced
commit c2813d5736
3 changed files with 26 additions and 28 deletions

View File

@@ -62,12 +62,6 @@ class BuilderTest extends TestCase
$this->assertInstanceOf(Extension::class, $this->builder->getExt('mbregex'));
}
public function testHasCpp()
{
// mbregex doesn't have cpp
$this->assertFalse($this->builder->hasCpp());
}
public function testMakeExtensionArgs()
{
$this->assertStringContainsString('--enable-mbstring', $this->builder->makeStaticExtensionArgs());