From e342975b5b34dcbce12536c69fd5df82e013f4ac Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 4 Dec 2010 19:19:54 +0000 Subject: Remove Aliases file from test harnesses svn path=/trunk/hubbub/; revision=10978 --- test/tokeniser2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/tokeniser2.c') diff --git a/test/tokeniser2.c b/test/tokeniser2.c index a584f49..82caf20 100644 --- a/test/tokeniser2.c +++ b/test/tokeniser2.c @@ -49,12 +49,12 @@ int main(int argc, char **argv) int i; context ctx; - if (argc != 3) { - printf("Usage: %s \n", argv[0]); + if (argc != 2) { + printf("Usage: %s \n", argv[0]); return 1; } - json = json_object_from_file(argv[2]); + json = json_object_from_file(argv[1]); assert(!is_error(json)); assert(strcmp((char *) ((json_object_get_object(json)->head)->k), -- cgit v1.2.3