diff options
| author | uncrustify <david@tethera.net> | 2021-03-13 08:45:34 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-13 08:45:34 -0400 |
| commit | df4c66f85d4aa05c462ad119c6dad3afa421f6f2 (patch) | |
| tree | b56e642b14801f1d3cfa788e5618db995216872a /test | |
| parent | 0756d2587220898bdeec2067363a74629411093b (diff) | |
test: run uncrustify
This is the result of running:
$ uncrustify --replace --config ../devel/uncrustify.cfg *.cc *.c *.h
in the test directory.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ghost-report.cc | 1 | ||||
| -rw-r--r-- | test/make-db-version.cc | 1 | ||||
| -rw-r--r-- | test/random-corpus.c | 1 |
3 files changed, 3 insertions, 0 deletions
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 */ |
