changeset 1431:7decc74b0fd0 streaming-csv-writer

Untabify
author Lucas Thompson <dev@lucas.im>
date Tue, 17 Apr 2018 10:03:49 +0100
parents b5283878cca2
children 779a084d7e3d
files test/TestHelper.h
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/test/TestHelper.h	Tue Apr 17 10:03:49 2018 +0100
+++ b/test/TestHelper.h	Tue Apr 17 10:03:49 2018 +0100
@@ -32,17 +32,17 @@
 template <class T, typename... Args>
 auto createFactory(Args... FArgs) -> Factory<T>
 {
-  return [&]() { return std::unique_ptr<T> { new T {FArgs...} }; };
+    return [&]() { return std::unique_ptr<T> { new T {FArgs...} }; };
 }
 
 using TestStatus = int;
 
 auto startTestRunner(
-  std::initializer_list<Factory<QObject>> tests,
-  int argc,
-  char *argv[],
-  QString testName,
-  QString orgName = "sonic-visualiser"
+    std::initializer_list<Factory<QObject>> tests,
+    int argc,
+    char *argv[],
+    QString testName,
+    QString orgName = "sonic-visualiser"
 ) -> TestStatus
 {
     int good = 0, bad = 0;
@@ -60,11 +60,11 @@
     }
 
     if (bad > 0) {
-	    cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl;
-	    return 1;
+        cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl;
+        return 1;
     } else {
-	    cerr << "All tests passed" << endl;
-	    return 0;
+        cerr << "All tests passed" << endl;
+        return 0;
     }
 }