summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-11-23 11:56:22 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-11-23 19:46:27 +0300
commit05ef56ee44198aed563a66443fb479598819f779 (patch)
tree8fdd1b80cecce057afb08d5da5f93aa169baa76a /tests
parent1f7d34d2c5c4cd552e1a20658d64c51b5df909d1 (diff)
Fix broken ctor test
Diffstat (limited to 'tests')
-rw-r--r--tests/ctor/driver.cxx24
1 files changed, 8 insertions, 16 deletions
diff --git a/tests/ctor/driver.cxx b/tests/ctor/driver.cxx
index 4bab1b0..8ba8c94 100644
--- a/tests/ctor/driver.cxx
+++ b/tests/ctor/driver.cxx
@@ -12,11 +12,9 @@ main (int argc, char* argv[])
//
{
options o1 (argc, argv);
- options o2 (argc, argv,
+ options o2 (argc, argv, true);
+ options o3 (argc, argv, true,
cli::unknown_mode::fail);
- options o3 (argc, argv,
- cli::unknown_mode::fail,
- cli::unknown_mode::stop);
options o4 (argc, argv, true,
cli::unknown_mode::fail,
cli::unknown_mode::stop);
@@ -24,11 +22,9 @@ main (int argc, char* argv[])
{
options o1 (1, argc, argv);
- options o2 (1, argc, argv,
+ options o2 (1, argc, argv, true);
+ options o3 (1, argc, argv, true,
cli::unknown_mode::fail);
- options o3 (1, argc, argv,
- cli::unknown_mode::fail,
- cli::unknown_mode::stop);
options o4 (1, argc, argv, true,
cli::unknown_mode::fail,
cli::unknown_mode::stop);
@@ -37,11 +33,9 @@ main (int argc, char* argv[])
{
int end;
options o1 (argc, argv, end);
- options o2 (argc, argv, end,
+ options o2 (argc, argv, end, true);
+ options o3 (argc, argv, end, true,
cli::unknown_mode::fail);
- options o3 (argc, argv, end,
- cli::unknown_mode::fail,
- cli::unknown_mode::stop);
options o4 (argc, argv, end, true,
cli::unknown_mode::fail,
cli::unknown_mode::stop);
@@ -50,11 +44,9 @@ main (int argc, char* argv[])
{
int end;
options o1 (1, argc, argv, end);
- options o2 (1, argc, argv, end,
+ options o2 (1, argc, argv, end, true);
+ options o3 (1, argc, argv, end, true,
cli::unknown_mode::fail);
- options o3 (1, argc, argv, end,
- cli::unknown_mode::fail,
- cli::unknown_mode::stop);
options o4 (1, argc, argv, end, true,
cli::unknown_mode::fail,
cli::unknown_mode::stop);