mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-13 15:46:53 +03:00
Migrated from PHPUnit_Framework_TestCase#assertRegExp() (deprecated) to #assertMatchesRegularExpression()
This commit is contained in:
@@ -91,7 +91,7 @@ class SystemNodeProviderTest extends TestCase
|
||||
'Node should be a hexadecimal string of 12 characters. Actual node: %s (length: %s)',
|
||||
[$node->toString(), strlen($node->toString()),]
|
||||
);
|
||||
$this->assertRegExp('/^[A-Fa-f0-9]{12}$/', $node->toString(), $message);
|
||||
$this->assertMatchesRegularExpression('/^[A-Fa-f0-9]{12}$/', $node->toString(), $message);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user