forked from github/server
correct argument count
This commit is contained in:
parent
5d192cb4c9
commit
47eee29813
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue