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

Puzzle description should be supposed to be ended in case of empty line presented #234

Closed
pnatashap opened this issue Jan 19, 2024 · 6 comments

Comments

@pnatashap
Copy link
Contributor

pnatashap commented Jan 19, 2024

Example of the comment

# @todo #1054 Extract list of exclusions to a common profile
#
# Full list of autoconfiguration classes:
# https://docs.spring.io/spring-boot/docs/2.2.x/reference/html/appendix-auto-configuration-classes.html
# The difference between test profile is that we don't need H2ConsoleAutoConfiguration`

Expected result (example - php-coder/mystamps#1138):
One puzzle with text from the first line only Extract list of exclusions to a common profile
Real result (example php-coder/mystamps#1594):
One puzzle with text from all comment: "
Extract list of exclusions to a common profile Full list of autoconfiguration classes: https://docs.spring.io/spring-boot/docs/2.2.x/reference/html/appendix-auto-configuration-classes.html The difference between test profile is that we don't need H2ConsoleAutoConfiguration

Originally created in yegor256/0pdd#379

@php-coder
Copy link
Contributor

Thanks for opening the issue!

@pnatashap
Copy link
Contributor Author

@yegor256 do you agree with the title?

@yegor256
Copy link
Member

@pnatashap yes, I agree

@php-coder
Copy link
Contributor

BTW there is #163 that looks related.

@pnatashap
Copy link
Contributor Author

Will take a look in both of them

@pnatashap
Copy link
Contributor Author

BTW this was a feature, as there is a test that empty line is legal https://github.com/cqfn/pdd/blob/master/test_assets/puzzles/44-660e9d6f

pnatashap added a commit to pnatashap/pdd that referenced this issue Jan 20, 2024
…At least one space in the line will read the next line also
pnatashap added a commit to pnatashap/pdd that referenced this issue Jan 20, 2024
pnatashap added a commit to pnatashap/pdd that referenced this issue Jan 20, 2024
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

3 participants