[Pkg-owncloud-commits] [owncloud] 20/457: correct testSeek
David Prévot
taffit at moszumanska.debian.org
Sun Jun 28 20:05:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 62e6c46216c5d019ec5f4f49089c4f13ec2c8f2a
Author: jknockaert <jasper at knockaert.nl>
Date: Mon May 18 11:55:48 2015 +0200
correct testSeek
---
tests/lib/files/stream/encryption.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/lib/files/stream/encryption.php b/tests/lib/files/stream/encryption.php
index 7905d55..e1cf60c 100644
--- a/tests/lib/files/stream/encryption.php
+++ b/tests/lib/files/stream/encryption.php
@@ -200,10 +200,10 @@ class Encryption extends \Test\TestCase {
$this->assertEquals('foofoobar', fread($stream, 100));
$this->assertEquals(-1, fseek($stream, 10));
$this->assertEquals(0, fseek($stream, 9));
- $this->assertEquals(-1, fseek($stream, -10, 'SEEK_CUR'));
- $this->assertEquals(0, fseek($stream, -9, 'SEEK_CUR'));
- $this->assertEquals(-1, fseek($stream, -10, 'SEEK_END'));
- $this->assertEquals(0, fseek($stream, -9, 'SEEK_END'));
+ $this->assertEquals(-1, fseek($stream, -10, SEEK_CUR));
+ $this->assertEquals(0, fseek($stream, -9, SEEK_CUR));
+ $this->assertEquals(-1, fseek($stream, -10, SEEK_END));
+ $this->assertEquals(0, fseek($stream, -9, SEEK_END));
fclose($stream);
unlink($fileName);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list