diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-11-23 11:56:22 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-11-23 11:56:22 +0300 |
commit | d7a9b5ba40a91a6a232c0f610056a1c2a85b71a1 (patch) | |
tree | 0a88508b615b13a8df4c261911a52eba290f7075 /tests/ctor/driver.cxx | |
parent | d52c1fb406b1cef82c5f5a28fc1804d7d99a49d8 (diff) |
Fix broken ctor testctor
Diffstat (limited to 'tests/ctor/driver.cxx')
-rw-r--r-- | tests/ctor/driver.cxx | 24 |
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); |