diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-06-25 13:55:45 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-06-29 21:18:15 +0200 |
| commit | bdc87f0d3ec41dd4744a89d1d19b2186d0647a56 (patch) | |
| tree | 06a7bd96d79e9a4417cb1434cf138f2dbde78534 /test/ghost-report.cc | |
| parent | 1959a95d2538daa2a802b74699ecb2b42d997a2d (diff) | |
test: run uncrustify
This is the result of running:
$ uncrustify --replace --config ../devel/uncrustify.cfg *.cc *.c *.h
in the test directory.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'test/ghost-report.cc')
| -rw-r--r-- | test/ghost-report.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/ghost-report.cc b/test/ghost-report.cc index 3e1b07c6..fad9a71d 100644 --- a/test/ghost-report.cc +++ b/test/ghost-report.cc @@ -2,13 +2,15 @@ #include <cstdlib> #include <xapian.h> -int main(int argc, char **argv) { +int +main (int argc, char **argv) +{ if (argc < 2) { std::cerr << "usage: ghost-report xapian-dir" << std::endl; - exit(1); + exit (1); } - Xapian::Database db(argv[1]); - std::cout << db.get_termfreq("Tghost") << std::endl; + Xapian::Database db (argv[1]); + std::cout << db.get_termfreq ("Tghost") << std::endl; } |
