Page MenuHomeDevCentral

D2275.diff
No OneTemporary

D2275.diff

diff --git a/tests/Identifiers/RandomTest.php b/tests/Identifiers/RandomTest.php
--- a/tests/Identifiers/RandomTest.php
+++ b/tests/Identifiers/RandomTest.php
@@ -8,6 +8,10 @@
class RandomTest extends TestCase {
+ ///
+ /// Tests
+ ///
+
public function testGenerateHexadecimalHash () : void {
$hash = Random::generateHexHash();
@@ -36,6 +40,10 @@
$this->assertRegExp($re, $string);
}
+ ///
+ /// Data providers
+ ///
+
public function provideRandomStringFormats() : iterable {
yield ["AAA111", "/^[A-Z]{3}[0-9]{3}$/", 6];
yield ["AAA123", "/^[A-Z]{3}[0-9]{3}$/", 6];

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 02:41 (22 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250133
Default Alt Text
D2275.diff (651 B)

Event Timeline