summaryrefslogtreecommitdiff
path: root/test/select-auto.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-04 20:32:25 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-04 20:32:25 +0000
commit453062750c3752d77bbf772d85144003063c1212 (patch)
treecf56e29d64c6871397e4ccc749c0da0b4f27f4f4 /test/select-auto.c
parent7737a59d775aeb6dc14868fef6b2c95ed948d17f (diff)
downloadlibcss-453062750c3752d77bbf772d85144003063c1212.tar.gz
libcss-453062750c3752d77bbf772d85144003063c1212.tar.bz2
Remove Aliases file nonsense
svn path=/trunk/libcss/; revision=10983
Diffstat (limited to 'test/select-auto.c')
-rw-r--r--test/select-auto.c6
1 files changed, 3 insertions, 3 deletions
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 <aliases_file> <filename>\n", argv[0]);
+ if (argc != 2) {
+ printf("Usage: %s <filename>\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)