]> git.notmuchmail.org Git - notmuch/commitdiff
test: run uncrustify
authoruncrustify <david@tethera.net>
Sat, 13 Mar 2021 12:45:34 +0000 (08:45 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 13 Mar 2021 12:45:34 +0000 (08:45 -0400)
This is the result of running:

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

in the test directory.

test/ghost-report.cc
test/make-db-version.cc
test/random-corpus.c

index fad9a71d9a14d99ad2a9f553b0ba134d21887b82..9d9e7a7fca5f735b90ebd46bde1d3f6e67dd2db6 100644 (file)
@@ -12,5 +12,6 @@ main (int argc, char **argv)
     }
 
     Xapian::Database db (argv[1]);
+
     std::cout << db.get_termfreq ("Tghost") << std::endl;
 }
index 78feaf7269fdf3c9c492e8ae15070260bd91a6e5..238584e2b1bf710785292f52d81cba529855c656 100644 (file)
@@ -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 ());
index ff4132520982f5ddb9b82d476983488cef83c1f6..d0354e3584082b0c1e1b55f307b56f131acfbb4a 100644 (file)
@@ -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 */