mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
Remove negative parameter test for now unsigned
This commit is contained in:
parent
3d559d3a23
commit
c99272b93d
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user