File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/unknown_argument_test Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ class Argengine::Impl
405405
406406 [[noreturn]] void throwUnknownArgumentError (std::string arg) const
407407 {
408- throw std::runtime_error (name () + " : Uknown option '" + arg + " '!" );
408+ throw std::runtime_error (name () + " : Unknown option '" + arg + " '!" );
409409 }
410410
411411 [[noreturn]] void throwNoValueError (const OptionDefinition & existing) const
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ void testUnknownArgumentBehavior_ShouldThrow()
5050 } catch (std::runtime_error & e) {
5151 error = e.what ();
5252 }
53- assert (error == name + " : Uknown option '" + ae.arguments ().at (1 ) + " '!" );
53+ assert (error == name + " : Unknown option '" + ae.arguments ().at (1 ) + " '!" );
5454}
5555
5656void testUnknownArgument_SingleValueAssignment_ShouldThrow ()
@@ -65,7 +65,7 @@ void testUnknownArgument_SingleValueAssignment_ShouldThrow()
6565 } catch (std::runtime_error & e) {
6666 error = e.what ();
6767 }
68- assert (error == name + " : Uknown option '--foo=42'!" );
68+ assert (error == name + " : Unknown option '--foo=42'!" );
6969}
7070
7171int main (int , char **)
You can’t perform that action at this time.
0 commit comments