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

Steps containing Data-Table and DocString fail #124

Closed
DDtKey opened this issue Feb 29, 2024 · 6 comments
Closed

Steps containing Data-Table and DocString fail #124

DDtKey opened this issue Feb 29, 2024 · 6 comments

Comments

@DDtKey
Copy link

DDtKey commented Feb 29, 2024

Hi there!
First of all thanks for the linter and its maintenance!

I just wonder why this is disallowed? 🤔

Example:

    When user does something
      """
        ok
      """
      | a | b |

lead to

Parser errors:
(x:y): expected: #EOF, #StepLine, #TagLine, #ExamplesLine, #ScenarioLine, #RuleLine, #Comment, #Empty, got '      | a | b |

But I don't see any mentions in reference that it's disallowed to combine them
Moreover, it works with quite a lot of cucumber-runners, JetBrains plugin also marks such syntax as valid.

@antham
Copy link
Owner

antham commented Feb 29, 2024

Hi,
here we are using the cucumber go library to parse the file, the message above is from the library.

@DDtKey
Copy link
Author

DDtKey commented Feb 29, 2024

Oh, got it, in that case the issue should be redirected, since there seems to be a difference in the behavior of the implementations for different languages.

Thanks

@antham
Copy link
Owner

antham commented Feb 29, 2024

I checked if it could come from another part of the code but it seems to be really coming from their side.

@antham
Copy link
Owner

antham commented May 3, 2024

@DDtKey Hi, from what I get in the ticket to cucumber, nothing will be done to support that behaviour right?

@DDtKey
Copy link
Author

DDtKey commented May 3, 2024

Yes, I think so, the behavior will be documented.

Let's close the issue. Thank you!

@DDtKey DDtKey closed this as completed May 3, 2024
@antham
Copy link
Owner

antham commented May 3, 2024

Thank you for reporting that here and to cucumber!

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

No branches or pull requests

2 participants