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/parse2-auto.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/parse2-auto.c') diff --git a/test/parse2-auto.c b/test/parse2-auto.c index e64b169..f649fd4 100644 --- a/test/parse2-auto.c +++ b/test/parse2-auto.c @@ -65,12 +65,12 @@ 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; } - ctx.buflen = parse_filesize(argv[2]); + ctx.buflen = parse_filesize(argv[1]); if (ctx.buflen == 0) return 1; @@ -90,7 +90,7 @@ int main(int argc, char **argv) ctx.inerrors = false; ctx.inexp = false; - assert(parse_testfile(argv[2], handle_line, &ctx) == true); + assert(parse_testfile(argv[1], handle_line, &ctx) == true); /* and run final test */ if (ctx.bufused > 0) -- cgit v1.2.3