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

Avoid trimming whitespace from test cases? #3

Closed
bjmc opened this issue Aug 25, 2023 · 0 comments
Closed

Avoid trimming whitespace from test cases? #3

bjmc opened this issue Aug 25, 2023 · 0 comments

Comments

@bjmc
Copy link
Contributor

bjmc commented Aug 25, 2023

Thanks for this very useful library! I'm trying to test a grammar that requires files to be terminated with a newline, and I'm having trouble producing a passing test case with pest_test_gen. I wonder if the problem is that leading and trailing whitespace is being trimmed from the test case.

I can work around this by refactoring the pest grammar, but I wondered if there's any way to disable that feature?

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