X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=tests%2Fargument%2Fhandles_negative_int_value.cpp;h=f9c222f9d80caa3f43ec85b3bd616b21c3c7e064;hb=4d3ba3307820eed7fab532abd2d35e24359b5a51;hp=3f53f1aea97015593fbcf29b8af3dcd3469902ee;hpb=e440905b4cbc8761e62ab645e686ceeada0bb5e6;p=command.git diff --git a/tests/argument/handles_negative_int_value.cpp b/tests/argument/handles_negative_int_value.cpp index 3f53f1a..f9c222f 100644 --- a/tests/argument/handles_negative_int_value.cpp +++ b/tests/argument/handles_negative_int_value.cpp @@ -21,6 +21,10 @@ int main() { if (argument.understand(VALUE)) { argument.handle(); } + else { + cout << "Argument class do not understand negative int values\n"; + return 1; + } if (test == std::stoi(VALUE)) { cout << "Argument class handles negative int values\n";