Skip to content

Commit a2cbe31

Browse files
committed
fix typo
1 parent 589d558 commit a2cbe31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/exception_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ void test_multiple_occurrences_with_different_names()
189189
}
190190
catch (multiple_occurrences& e)
191191
{
192-
BOOST_CHECK( (e.get_option_name() == "--cfgfile") || (e.get_option_name() == "--configfile"));
192+
BOOST_CHECK( (e.get_option_name() == "--cfgfile") || (e.get_option_name() == "--config-file"));
193193
BOOST_CHECK(
194194
(string(e.what()) == "option '--cfgfile' cannot be specified more than once") ||
195-
(string(e.what()) == "option '--configfile' cannot be specified more than once")
195+
(string(e.what()) == "option '--config-file' cannot be specified more than once")
196196
);
197197
}
198198
}

0 commit comments

Comments
 (0)