33/*
44 * This file is part of php-cache\taggable-cache package.
55 *
6- * (c) 2015-2015 Aaron Scherer <aequasi@gmail.com>
6+ * (c) 2015-2015 Aaron Scherer <aequasi@gmail.com>, Tobias Nyholm <tobias.nyholm@gmail.com>
77 *
88 * This source file is subject to the MIT license that is bundled
99 * with this source code in the file LICENSE.
@@ -20,10 +20,10 @@ public function testGetKey()
2020 $ item = new CacheItem ('key ' );
2121 $ this ->assertEquals ('key ' , $ item ->getKey ());
2222
23- $ item = new CacheItem ('foo: key ' );
23+ $ item = new CacheItem ('key:foo ' );
2424 $ this ->assertEquals ('key ' , $ item ->getKey ());
2525
26- $ item = new CacheItem ('foo:bar:key ' );
26+ $ item = new CacheItem ('key: foo:bar ' );
2727 $ this ->assertEquals ('key ' , $ item ->getKey ());
2828 }
2929
@@ -32,10 +32,10 @@ public function testGetTaggedKey()
3232 $ item = new CacheItem ('key ' );
3333 $ this ->assertEquals ('key ' , $ item ->getTaggedKey ());
3434
35- $ item = new CacheItem ('foo: key ' );
36- $ this ->assertEquals ('foo: key ' , $ item ->getTaggedKey ());
35+ $ item = new CacheItem ('key:foo ' );
36+ $ this ->assertEquals ('key:foo ' , $ item ->getTaggedKey ());
3737
38- $ item = new CacheItem ('foo:bar:key ' );
39- $ this ->assertEquals ('foo:bar:key ' , $ item ->getTaggedKey ());
38+ $ item = new CacheItem ('key: foo:bar ' );
39+ $ this ->assertEquals ('key: foo:bar ' , $ item ->getTaggedKey ());
4040 }
4141}
0 commit comments