[PATCH 3/4] test: run uncrustify

Subject: [PATCH 3/4] test: run uncrustify

Date: Fri, 12 Mar 2021 08:09:54 -0400

To: notmuch@notmuchmail.org

Cc: uncrustify

From: David Bremner


From: uncrustify <david@tethera.net>

This is the result of running:

    $ uncrustify --replace --config ../devel/uncrustify.cfg *.cc *.c *.h

in the test directory.
---
 test/ghost-report.cc    | 1 +
 test/make-db-version.cc | 1 +
 test/random-corpus.c    | 1 +
 3 files changed, 3 insertions(+)

diff --git a/test/ghost-report.cc b/test/ghost-report.cc
index fad9a71d..9d9e7a7f 100644
--- a/test/ghost-report.cc
+++ b/test/ghost-report.cc
@@ -12,5 +12,6 @@ main (int argc, char **argv)
     }
 
     Xapian::Database db (argv[1]);
+
     std::cout << db.get_termfreq ("Tghost") << std::endl;
 }
diff --git a/test/make-db-version.cc b/test/make-db-version.cc
index 78feaf72..238584e2 100644
--- a/test/make-db-version.cc
+++ b/test/make-db-version.cc
@@ -17,6 +17,7 @@ main (int argc, char **argv)
     }
 
     std::string nmpath (argv[1]);
+
     nmpath += "/.notmuch";
     if (mkdir (nmpath.c_str (), 0777) < 0) {
 	perror (("failed to create " + nmpath).c_str ());
diff --git a/test/random-corpus.c b/test/random-corpus.c
index ff413252..d0354e35 100644
--- a/test/random-corpus.c
+++ b/test/random-corpus.c
@@ -190,6 +190,7 @@ main (int argc, char **argv)
     srandom (seed);
 
     int count;
+
     for (count = 0; count < num_messages; count++) {
 	int j;
 	/* explicitly allow zero tags */
-- 
2.30.1
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: