summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2016-03-21 20:51:07 -0700
committerTim King <taking@cs.nyu.edu>2016-03-21 20:51:07 -0700
commitfa0e13c32b15b628cc812928c0fb6c094f85079d (patch)
tree5ac79f0393ef395b83cbbff2a26b7fab51610176 /test
parent22c24eeffd7dc0e44533ccd8c2c6dc91eb77f2f3 (diff)
New version of the recursive options parsing strategy.
Diffstat (limited to 'test')
-rw-r--r--test/unit/expr/expr_public.h2
-rw-r--r--test/unit/expr/node_black.h2
-rw-r--r--test/unit/util/listener_black.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/expr/expr_public.h b/test/unit/expr/expr_public.h
index 194aec0b1..671be0195 100644
--- a/test/unit/expr/expr_public.h
+++ b/test/unit/expr/expr_public.h
@@ -58,7 +58,7 @@ public:
char *argv[2];
argv[0] = strdup("");
argv[1] = strdup("--output-language=ast");
- opts.parseOptions(2, argv);
+ Options::parseOptions(&opts, 2, argv);
free(argv[0]);
free(argv[1]);
diff --git a/test/unit/expr/node_black.h b/test/unit/expr/node_black.h
index 7d6ee523a..0c903e90f 100644
--- a/test/unit/expr/node_black.h
+++ b/test/unit/expr/node_black.h
@@ -45,7 +45,7 @@ public:
char *argv[2];
argv[0] = strdup("");
argv[1] = strdup("--output-language=ast");
- opts.parseOptions(2, argv);
+ Options::parseOptions(&opts, 2, argv);
free(argv[0]);
free(argv[1]);
diff --git a/test/unit/util/listener_black.h b/test/unit/util/listener_black.h
index 682a7c67b..df8095756 100644
--- a/test/unit/util/listener_black.h
+++ b/test/unit/util/listener_black.h
@@ -137,7 +137,7 @@ public:
}
TS_ASSERT(not collection.empty());
- for(int i=0; i < listeners.size(); ++i){
+ for(unsigned i=0; i < listeners.size(); ++i){
ListenerCollection::Registration* at_i = listeners[i];
delete at_i;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback