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>
This commit is contained in:
Daniel Kahn Gillmor 2019-06-25 13:55:45 -04:00 committed by David Bremner
parent 1959a95d25
commit bdc87f0d3e
9 changed files with 91 additions and 85 deletions

View file

@ -2,7 +2,9 @@
#include "command-line-arguments.h"
int main(int argc, char **argv){
int
main (int argc, char **argv)
{
int opt_index = 1;

View file

@ -2,7 +2,9 @@
#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;

View file

@ -8,7 +8,8 @@
#include <xapian.h>
int main(int argc, char **argv)
int
main (int argc, char **argv)
{
if (argc != 4) {
fprintf (stderr, "Usage: %s mailpath version features\n", argv[0]);

View file

@ -3,7 +3,8 @@
#include <xapian.h>
#include <notmuch.h>
int main (int argc, char** argv)
int
main (int argc, char **argv)
{
notmuch_database_t *notmuch;
char *message = NULL;