mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-04 08:28:15 +01:00
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:
parent
0756d25872
commit
df4c66f85d
3 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 ());
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue