Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Schmidt <dev@dominik-schmidt.de>2020-12-14 16:47:45 +0300
committerHannah von Reth <vonreth@kde.org>2020-12-17 12:30:20 +0300
commit25ed9e8ac76499631b2e95d5fca013aa1a5e8a9e (patch)
tree848f79008f185b6db0019f6001423863fe867ccc
parent9f4f516c577abc6b949b365c610e7a3f1e61607e (diff)
Fix style
-rw-r--r--test/testutility.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/testutility.cpp b/test/testutility.cpp
index 2e6c07dbe..449c9a415 100644
--- a/test/testutility.cpp
+++ b/test/testutility.cpp
@@ -109,22 +109,22 @@ private slots:
void testVersionOfInstalledBinary()
{
- if( isLinux() ) {
- if ( qgetenv("DISPLAY").isEmpty() ) {
+ if(isLinux()) {
+ if (qgetenv("DISPLAY").isEmpty()) {
// Current requires an X-Server
return;
}
// pass the binary name owncloud to the next call. This brakes branding,
// but branding is not supposed to work with this.
QString ver = versionOfInstalledBinary(OWNCLOUD_BIN_PATH+QLatin1String("/owncloud"));
- qDebug() << "Version of installed ownCloud Binary: " << ver;
- QVERIFY( !ver.isEmpty());
-
- QRegExp rx( "ownCloud version \\d+\\.\\d+\\.\\d+.*" );
- QVERIFY( rx.exactMatch(ver));
- } else {
- QVERIFY( versionOfInstalledBinary().isEmpty());
- }
+ qDebug() << "Version of installed ownCloud Binary: " << ver;
+ QVERIFY(!ver.isEmpty());
+
+ QRegExp rx("ownCloud version \\d+\\.\\d+\\.\\d+.*");
+ QVERIFY(rx.exactMatch(ver));
+ } else {
+ QVERIFY(versionOfInstalledBinary().isEmpty());
+ }
}
void testTimeAgo()