Style fix
This commit is contained in:
parent
73c79a90a8
commit
82b3a36ab7
|
@ -44,13 +44,16 @@ class DataTypeTest extends TestCase
|
||||||
for ($i = 0; $i < $length; ++$i) {
|
for ($i = 0; $i < $length; ++$i) {
|
||||||
$x = mt_rand(0, 2);
|
$x = mt_rand(0, 2);
|
||||||
switch ($x) {
|
switch ($x) {
|
||||||
case 0: $string .= chr(mt_rand(97, 122));
|
case 0:
|
||||||
|
$string .= chr(mt_rand(97, 122));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 1: $string .= chr(mt_rand(65, 90));
|
case 1:
|
||||||
|
$string .= chr(mt_rand(65, 90));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 2: $string .= chr(mt_rand(48, 57));
|
case 2:
|
||||||
|
$string .= chr(mt_rand(48, 57));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue