Skip to content

Commit

Permalink
Fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Oct 9, 2024
1 parent a143854 commit f03dae4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ class ScriptOptionLinesRestTest : public ::testing::TestWithParam<std::string> {
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;
Expand All @@ -287,7 +288,7 @@ TEST_P(ScriptOptionLinesRestTest, test_rest_with_tokens) {
}

const std::vector<std::string> rest_strings =
{"\nhello", "\\n", "\r", "\\r", "something %blabla;", ";", "\\;", "\\;blabla"};
{"\\n", "\\r", "something %blabla;", ";", "\\;", "\\;blabla"};

INSTANTIATE_TEST_SUITE_P(
ScriptOptionLines,
Expand Down

0 comments on commit f03dae4

Please sign in to comment.