From 441aa3044f43e5572f58c354f01e6bc070acd5c7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 10 Dec 2009 20:28:30 +0100 Subject: Use spaces for indentation, not tabs. --- tests/test-argp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/test-argp.c') diff --git a/tests/test-argp.c b/tests/test-argp.c index 2831dc13c2..f00f563ed9 100644 --- a/tests/test-argp.c +++ b/tests/test-argp.c @@ -228,7 +228,7 @@ parse_opt (int key, char *arg, struct argp_state *state) { case ARGP_KEY_INIT: for (i = 0; state->root_argp->children[i].argp; i++) - state->child_inputs[i] = args; + state->child_inputs[i] = args; break; case 't': @@ -348,7 +348,7 @@ test6(struct argp *argp) void test_optional(struct argp *argp, int argc, char **argv, - struct test_args *args, char *val, char *a) + struct test_args *args, char *val, char *a) { int index; if (argp_parse (argp, argc, argv, 0, &index, args)) @@ -359,7 +359,7 @@ test_optional(struct argp *argp, int argc, char **argv, if (!val) { if (args->optional) - fail("option processed incorrectly"); + fail("option processed incorrectly"); } else if (strcmp (args->optional, val)) fail("option processed incorrectly"); @@ -367,9 +367,9 @@ test_optional(struct argp *argp, int argc, char **argv, if (a) { if (index == argc) - fail("expected command line argument not found"); + fail("expected command line argument not found"); else if (strcmp(argv[index], a)) - fail("expected command line argument does not match"); + fail("expected command line argument does not match"); } } -- cgit v1.2.1