summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-24 14:54:21 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-24 14:54:21 +0200
commitbf4c144c6fb1455e01da2dc0b116957fc02b39a9 (patch)
tree19ea7797cc0c188567390b54eab6250a34c54d6f /tests
parent5ee46c8500b72ff5b3b1ef86212a1bca218c7375 (diff)
parent9f9bdd8f90d3c75158d6adadfe6d0d122d7d08ec (diff)
downloadnextcloud-server-bf4c144c6fb1455e01da2dc0b116957fc02b39a9.tar.gz
nextcloud-server-bf4c144c6fb1455e01da2dc0b116957fc02b39a9.zip
Merge pull request #19335 from owncloud/phil-davis-view-typos
Comment typos in tests/lib/files/view.php
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/view.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php
index 56269ec5ad2..ceeb9ba7a94 100644
--- a/tests/lib/files/view.php
+++ b/tests/lib/files/view.php
@@ -889,7 +889,7 @@ class View extends \Test\TestCase {
// False negatives: chroot fixes those by adding the leading slash.
// But setting them up with this root (instead of chroot($root))
- // will fail them, althought they should be the same.
+ // will fail them, although they should be the same.
// TODO init should be fixed, so it also adds the leading slash
array('files/', '/files/', $missingRootExpectedPath),
array('files', '/files/', $missingRootExpectedPath),
@@ -1095,7 +1095,7 @@ class View extends \Test\TestCase {
$storage1->file_put_contents('foo.txt', '0123456789ABCDEFGH');
$storage1->mkdir('dirtomove');
$storage1->file_put_contents('dirtomove/indir1.txt', '0123456'); // fits
- $storage1->file_put_contents('dirtomove/indir2.txt', '0123456789ABCDEFGH'); // doesn't fit
+ $storage1->file_put_contents('dirtomove/indir2.txt', '0123456789ABCDEFGH'); // doesn't fit
$storage2->file_put_contents('existing.txt', '0123');
$storage1->getScanner()->scan('');
$storage2->getScanner()->scan('');
@@ -1371,7 +1371,7 @@ class View extends \Test\TestCase {
$thrown = false;
try {
- // this actually acquires two locks, one on the mount point and one no the storage root,
+ // this actually acquires two locks, one on the mount point and one on the storage root,
// but the one on the storage root will fail
$view->lockFile('/mountpoint.txt', ILockingProvider::LOCK_SHARED);
} catch (\OCP\Lock\LockedException $e) {