]> source.dussan.org Git - nextcloud-server.git/commitdiff
Spelling fixes in XCache files
authorBart Visscher <bartv@thisnet.nl>
Tue, 5 Jun 2012 19:11:18 +0000 (21:11 +0200)
committerBart Visscher <bartv@thisnet.nl>
Tue, 5 Jun 2012 21:07:11 +0000 (23:07 +0200)
lib/cache/xcache.php
tests/lib/cache.php

index ad1e3e2c1f23dd1cc180564b10d244635249fb1c..b57338929e05d58442aca21abcc6009a13f67e9b 100644 (file)
@@ -6,10 +6,9 @@
  * See the COPYING-README file.
  */
 
-
-class OC_Cache_XCache{
+class OC_Cache_XCache {
        /**
-        * entries in XCache gets namespaced to prevent collisions between owncloud instaces and users
+        * entries in XCache gets namespaced to prevent collisions between owncloud instances and users
         */
        protected function getNameSpace() {
                return OC_Util::getInstanceId().'/'.OC_User::getUser().'/';
index fdc39aec184732984c3319ad61fbcc7f4cfcebe7..e90826b85f28c5acfdf8dc8eb3d97b1e36654481 100644 (file)
@@ -28,7 +28,7 @@ abstract class Test_Cache extends UnitTestCase {
                $value='ipsum lorum';
                $this->instance->set('value1',$value);
                $received=$this->instance->get('value1');
-               $this->assertEqual($value,$received,'Value not overwritten by seccond set');
+               $this->assertEqual($value,$received,'Value not overwritten by second set');
 
                $value2='foobar';
                $this->instance->set('value2',$value2);
@@ -36,7 +36,7 @@ abstract class Test_Cache extends UnitTestCase {
                $this->assertTrue($this->instance->hasKey('value1'));
                $this->assertTrue($this->instance->hasKey('value2'));
                $this->assertEqual($value,$received,'Value changed while setting other variable');
-               $this->assertEqual($value2,$received2,'Seccond value not equal to original');
+               $this->assertEqual($value2,$received2,'Second value not equal to original');
 
                $this->assertFalse($this->instance->hasKey('not_set'));
                $this->assertNull($this->instance->get('not_set'),'Unset value not equal to null');
@@ -53,4 +53,4 @@ abstract class Test_Cache extends UnitTestCase {
                $this->assertTrue($this->instance->hasKey('value2'));
                $this->assertEqual($value2,$this->instance->get('value2'));
        }
-}
\ No newline at end of file
+}