aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/SecureRandomTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Security/SecureRandomTest.php')
-rw-r--r--tests/lib/Security/SecureRandomTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Security/SecureRandomTest.php b/tests/lib/Security/SecureRandomTest.php
index 08d33d4a1b3..8000917579b 100644
--- a/tests/lib/Security/SecureRandomTest.php
+++ b/tests/lib/Security/SecureRandomTest.php
@@ -72,7 +72,7 @@ class SecureRandomTest extends \Test\TestCase {
$generator = $this->rng;
$scheme = constant('OCP\Security\ISecureRandom::' . $charName);
$randomString = $generator->generate(100, $scheme);
- $matchesRegex = preg_match('/^'.$chars.'+$/', $randomString);
+ $matchesRegex = preg_match('/^' . $chars . '+$/', $randomString);
$this->assertSame(1, $matchesRegex);
}