summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-02-05 17:12:17 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-02-11 10:50:10 +0100
commit72f134cfce05eb089a6d8271e73d6eb95cbe94a4 (patch)
tree83d4ad2a0c12350e32120a5304ed0d64112772f1 /tests/lib
parentaf781bdea7509c3ecd9a7b4902fb7a266dc62c80 (diff)
downloadnextcloud-server-72f134cfce05eb089a6d8271e73d6eb95cbe94a4.tar.gz
nextcloud-server-72f134cfce05eb089a6d8271e73d6eb95cbe94a4.zip
intendation
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/share/searchresultsorter.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/share/searchresultsorter.php b/tests/lib/share/searchresultsorter.php
index efc3e1b7aa3..eaf93400a7d 100644
--- a/tests/lib/share/searchresultsorter.php
+++ b/tests/lib/share/searchresultsorter.php
@@ -25,11 +25,11 @@ class Test_Share_Search extends \PHPUnit_Framework_TestCase {
$sorter = new \OC\Share\SearchResultSorter($search, 'foobar');
$result = array(
- array('foobar' => 'woot'),
- array('foobar' => 'linux'),
- array('foobar' => 'Linus'),
- array('foobar' => 'Bicyclerepairwoman'),
- );
+ array('foobar' => 'woot'),
+ array('foobar' => 'linux'),
+ array('foobar' => 'Linus'),
+ array('foobar' => 'Bicyclerepairwoman'),
+ );
usort($result, array($sorter, 'sort'));
$this->assertTrue($result[0]['foobar'] === 'Linus');