test: run uncrustify

This is the result of running:

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

in the test directory.
This commit is contained in:
uncrustify 2021-03-13 08:45:34 -04:00 committed by David Bremner
parent 0756d25872
commit df4c66f85d
3 changed files with 3 additions and 0 deletions

View file

@ -12,5 +12,6 @@ main (int argc, char **argv)
} }
Xapian::Database db (argv[1]); Xapian::Database db (argv[1]);
std::cout << db.get_termfreq ("Tghost") << std::endl; std::cout << db.get_termfreq ("Tghost") << std::endl;
} }

View file

@ -17,6 +17,7 @@ main (int argc, char **argv)
} }
std::string nmpath (argv[1]); std::string nmpath (argv[1]);
nmpath += "/.notmuch"; nmpath += "/.notmuch";
if (mkdir (nmpath.c_str (), 0777) < 0) { if (mkdir (nmpath.c_str (), 0777) < 0) {
perror (("failed to create " + nmpath).c_str ()); perror (("failed to create " + nmpath).c_str ());

View file

@ -190,6 +190,7 @@ main (int argc, char **argv)
srandom (seed); srandom (seed);
int count; int count;
for (count = 0; count < num_messages; count++) { for (count = 0; count < num_messages; count++) {
int j; int j;
/* explicitly allow zero tags */ /* explicitly allow zero tags */