X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_options.c;h=b0b127bad531a70a8c5f14e5a14c065ab38aa046;hp=0b00224a30420483a5cff49172019d7a27329718;hb=473824797f568578dc17d7242551cb2f7ccef46c;hpb=834902a1b9db396bd9aae10fe0ae725535afecfe diff --git a/test/test_options.c b/test/test_options.c index 0b00224..b0b127b 100644 --- a/test/test_options.c +++ b/test/test_options.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H @@ -31,7 +31,7 @@ static void tst(void) int argc = sizeof(argv) / sizeof(*argv); char *arg = 0; const char *desc = "a{longa}b{longb}cdn:m{marmelade}:"; - + YAZ_CHECK_EQ(options(desc, argv, argc, &arg), 'a'); YAZ_CHECK_EQ(options(desc, argv, argc, &arg), 'b'); YAZ_CHECK_EQ(options(desc, argv, argc, &arg), 0);