summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-03-29 17:07:12 -0700
committerAndres Noetzli <andres.noetzli@gmail.com>2020-03-29 17:07:12 -0700
commit796703fc72cfd67dc05357b10a5f0311200f2865 (patch)
treea1902320630c5dc089b440d388f27fcac64b0e5f
parent0ca63b43433cec2dd45f4860523040b95a399f1b (diff)
fix unit tests
-rw-r--r--test/unit/expr/expr_public.h2
-rw-r--r--test/unit/expr/node_black.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/expr/expr_public.h b/test/unit/expr/expr_public.h
index da9434d79..ce1a23655 100644
--- a/test/unit/expr/expr_public.h
+++ b/test/unit/expr/expr_public.h
@@ -57,7 +57,7 @@ private:
{
char* argv[2];
argv[0] = strdup("");
- argv[1] = strdup("--output-language=ast");
+ argv[1] = strdup("--output-lang=ast");
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 e4a0dbb36..5aafaeaa2 100644
--- a/test/unit/expr/node_black.h
+++ b/test/unit/expr/node_black.h
@@ -61,7 +61,7 @@ class NodeBlack : public CxxTest::TestSuite {
{
char* argv[2];
argv[0] = strdup("");
- argv[1] = strdup("--output-language=ast");
+ argv[1] = strdup("--output-lang=ast");
Options::parseOptions(&opts, 2, argv);
free(argv[0]);
free(argv[1]);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback