@@ -26,8 +26,8 @@ public function testLongKey()
26
26
$ cache ->expects ($ this ->exactly (2 ))
27
27
->method ('doHave ' )
28
28
->withConsecutive (
29
- [$ this ->equalTo ('----------:nWfzGiCgLczv3SSUzXL3kg : ' )],
30
- [$ this ->equalTo ('----------: --------------------------------------- ' )]
29
+ [$ this ->equalTo ('----------_nWfzGiCgLczv3SSUzXL3kg : ' )],
30
+ [$ this ->equalTo ('----------_ --------------------------------------- ' )]
31
31
);
32
32
33
33
$ cache ->hasItem (str_repeat ('- ' , 40 ));
@@ -46,7 +46,7 @@ public function testLongKeyVersioning()
46
46
$ reflectionMethod ->setAccessible (true );
47
47
48
48
// No versioning enabled
49
- $ this ->assertEquals ('--------------------------: ------------ ' , $ reflectionMethod ->invokeArgs ($ cache , [str_repeat ('- ' , 12 )]));
49
+ $ this ->assertEquals ('--------------------------_ ------------ ' , $ reflectionMethod ->invokeArgs ($ cache , [str_repeat ('- ' , 12 )]));
50
50
$ this ->assertLessThanOrEqual (50 , \strlen ($ reflectionMethod ->invokeArgs ($ cache , [str_repeat ('- ' , 12 )])));
51
51
$ this ->assertLessThanOrEqual (50 , \strlen ($ reflectionMethod ->invokeArgs ($ cache , [str_repeat ('- ' , 23 )])));
52
52
$ this ->assertLessThanOrEqual (50 , \strlen ($ reflectionMethod ->invokeArgs ($ cache , [str_repeat ('- ' , 40 )])));
@@ -56,7 +56,7 @@ public function testLongKeyVersioning()
56
56
$ reflectionProperty ->setValue ($ cache , true );
57
57
58
58
// Versioning enabled
59
- $ this ->assertEquals ('--------------------------:1 /------------ ' , $ reflectionMethod ->invokeArgs ($ cache , [str_repeat ('- ' , 12 )]));
59
+ $ this ->assertEquals ('--------------------------_1 /------------ ' , $ reflectionMethod ->invokeArgs ($ cache , [str_repeat ('- ' , 12 )]));
60
60
$ this ->assertLessThanOrEqual (50 , \strlen ($ reflectionMethod ->invokeArgs ($ cache , [str_repeat ('- ' , 12 )])));
61
61
$ this ->assertLessThanOrEqual (50 , \strlen ($ reflectionMethod ->invokeArgs ($ cache , [str_repeat ('- ' , 23 )])));
62
62
$ this ->assertLessThanOrEqual (50 , \strlen ($ reflectionMethod ->invokeArgs ($ cache , [str_repeat ('- ' , 40 )])));
0 commit comments