Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix gherkin lexical_cast for string input parameters #476

Merged
merged 1 commit into from
Nov 6, 2021

Conversation

ambushed
Copy link
Contributor

@ambushed ambushed commented Nov 6, 2021

Problem:

  • when a string parameter is parsed in a gherkin test clause, ut is ignoring
    everything after the first whitespace character

Solution:

  • introduce a special case for std::string in the lexical_cast
    method of gherkin test not to rely on the streaming input operator
    (works only until the first whitespace) but to take the whole value.

Problem:
- when a string parameter is parsed in a gherkin test clause, ut is ignoring
everything after the first whitespace character

Solution:
- introduce a special case for std::string in the lexical_cast
  method of gherkin test not to rely on the streaming input operator
  (works only until the first whitespace) but to take the whole value.
@kris-jusiak kris-jusiak merged commit a692982 into boost-ext:master Nov 6, 2021
@kris-jusiak
Copy link
Contributor

thanks @ambushed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants