Completed
Push — V6 ( 95d57b...cfd763 )
by Georges
06:57
created
tests/UnsupportedKeyCharacters.test.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,28 +19,28 @@
 block discarded – undo
19 19
 try {
20 20
     $driverInstance->getItem('test{test');
21 21
     $testHelper->printFailText('1/4 An unsupported key character did not get caught by regular expression');
22
-}catch(phpFastCacheInvalidArgumentException $e){
22
+} catch(phpFastCacheInvalidArgumentException $e){
23 23
     $testHelper->printPassText('1/4 An unsupported key character has been caught by regular expression');
24 24
 }
25 25
 
26 26
 try {
27 27
     $driverInstance->getItem(':testtest');
28 28
     $testHelper->printFailText('2/4 An unsupported key character did not get caught by regular expression');
29
-}catch(phpFastCacheInvalidArgumentException $e){
29
+} catch(phpFastCacheInvalidArgumentException $e){
30 30
     $testHelper->printPassText('2/4 An unsupported key character has been caught by regular expression');
31 31
 }
32 32
 
33 33
 try {
34 34
     $driverInstance->getItem('testtest}');
35 35
     $testHelper->printFailText('3/4 An unsupported key character did not get caught by regular expression');
36
-}catch(phpFastCacheInvalidArgumentException $e){
36
+} catch(phpFastCacheInvalidArgumentException $e){
37 37
     $testHelper->printPassText('3/4 An unsupported key character has been caught by regular expression');
38 38
 }
39 39
 
40 40
 try {
41 41
     $driverInstance->getItem('testtest');
42 42
     $testHelper->printPassText('4/4 No exception caught while trying with a key without unsupported character');
43
-}catch(phpFastCacheInvalidArgumentException $e){
43
+} catch(phpFastCacheInvalidArgumentException $e){
44 44
     $testHelper->printFailText('4/4 An exception has been caught while trying with a key without unsupported character');
45 45
 }
46 46
 
Please login to merge, or discard this patch.