From 47eee298138d8536bc3631b7281b81eb7948fc72 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 14 Oct 2015 18:40:37 +0200 Subject: [PATCH] correct argument count --- src/test_eressea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_eressea.c b/src/test_eressea.c index 6879d314e..71b7137ee 100644 --- a/src/test_eressea.c +++ b/src/test_eressea.c @@ -19,7 +19,7 @@ static suite *suites; static void add_suite(CuSuite *(*csuite)(void), const char *name, int argc, char *argv[]) { suite *s = 0; - if (argc > 1) { + if (argc > 0) { int i; for (i = 0; i != argc; ++i) { if (strcmp(argv[i], name) == 0) {