support cross version phpunit (#92)

This commit is contained in:
Dengke Tang
2023-03-09 16:44:10 -08:00
committed by GitHub
parent 5334110e8b
commit 46e0ca0c81
9 changed files with 22 additions and 22 deletions
+2 -1
View File
@@ -4,8 +4,9 @@
* SPDX-License-Identifier: Apache-2.0.
*/
use AWS\CRT\CRT;
use Yoast\PHPUnitPolyfills\TestCases\TestCase;
final class ErrorTest extends PHPUnit_Framework_TestCase {
final class ErrorTest extends TestCase {
public function testNoInitialError() {
$this->assertEquals(0, CRT::last_error());