diff options
author | Bruno Haible <bruno@clisp.org> | 2009-12-10 20:28:30 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-12-10 20:28:30 +0100 |
commit | 441aa3044f43e5572f58c354f01e6bc070acd5c7 (patch) | |
tree | bef236e8058dd3469da28ffcd5a6a287222a4c50 /tests/test-argp.c | |
parent | 039ae97b8ae35a2446c5d62d72b21689c97da7e2 (diff) | |
download | gnulib-441aa3044f43e5572f58c354f01e6bc070acd5c7.tar.gz |
Use spaces for indentation, not tabs.
Diffstat (limited to 'tests/test-argp.c')
-rw-r--r-- | tests/test-argp.c | 10 |
1 files changed, 5 insertions, 5 deletions
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"); } } |