From 453062750c3752d77bbf772d85144003063c1212 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 4 Dec 2010 20:32:25 +0000 Subject: Remove Aliases file nonsense svn path=/trunk/libcss/; revision=10983 --- test/select-auto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/select-auto.c') diff --git a/test/select-auto.c b/test/select-auto.c index ff9de09..039ea02 100644 --- a/test/select-auto.c +++ b/test/select-auto.c @@ -190,8 +190,8 @@ int main(int argc, char **argv) { line_ctx ctx; - if (argc != 3) { - printf("Usage: %s \n", argv[0]); + if (argc != 2) { + printf("Usage: %s \n", argv[0]); return 1; } @@ -204,7 +204,7 @@ int main(int argc, char **argv) lwc_intern_string("class", SLEN("class"), &ctx.attr_class); lwc_intern_string("id", SLEN("id"), &ctx.attr_id); - assert(parse_testfile(argv[2], handle_line, &ctx) == true); + assert(parse_testfile(argv[1], handle_line, &ctx) == true); /* and run final test */ if (ctx.tree != NULL) -- cgit v1.2.3