diff --git a/exaudfclient/base/script_options_parser/ctpg/test/script_option_lines_test.cpp b/exaudfclient/base/script_options_parser/ctpg/test/script_option_lines_test.cpp index bdc55122..4033654f 100644 --- a/exaudfclient/base/script_options_parser/ctpg/test/script_option_lines_test.cpp +++ b/exaudfclient/base/script_options_parser/ctpg/test/script_option_lines_test.cpp @@ -271,7 +271,8 @@ class ScriptOptionLinesRestTest : public ::testing::TestWithParam { TEST_P(ScriptOptionLinesRestTest, test_rest_with_tokens) { const std::string rest = GetParam(); /** - Verify that the parser can read options coming after some code. + Verify that the parser correctly ignores character sequences containing special parser tokens + after the options in a line. */ const std::string code = "%jvmoption -Dhttp.agent=abc; class Abc{};" + rest; @@ -287,7 +288,7 @@ TEST_P(ScriptOptionLinesRestTest, test_rest_with_tokens) { } const std::vector rest_strings = - {"\nhello", "\\n", "\r", "\\r", "something %blabla;", ";", "\\;", "\\;blabla"}; + {"\\n", "\\r", "something %blabla;", ";", "\\;", "\\;blabla"}; INSTANTIATE_TEST_SUITE_P( ScriptOptionLines,