Remove negative parameter test for now unsigned

This commit is contained in:
Yoshihiro Hokazono 2021-09-11 07:31:00 +09:00
parent 3d559d3a23
commit c99272b93d

View File

@ -109,12 +109,6 @@ TEST_CASE("Parse remaining arguments deemed positional" *
}
}
TEST_CASE("Negative nargs is not allowed" *
test_suite("positional_arguments")) {
argparse::ArgumentParser program("test");
REQUIRE_THROWS_AS(program.add_argument("output").nargs(-1), std::logic_error);
}
TEST_CASE("Square a number" * test_suite("positional_arguments")) {
argparse::ArgumentParser program;
program.add_argument("--verbose", "-v")