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

chore: refactor/reformat the heredocs (in tests) ... #589

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

pvdb
Copy link
Contributor

@pvdb pvdb commented Oct 1, 2024

... by consistently using the squiggly heredoc syntax (using <<~ instead of <<-) and by fixing the indentation of all multi-line heredoc content accordingly.

Since 704c2f1 (April 2023), rake has been targeting ruby v2.3 (and above), which is the ruby version that introduced @avdi's suggested squiggly heredoc syntax, so there should be no issue with using it throughout the rake codebase.

@hsbt
Copy link
Member

hsbt commented Oct 1, 2024

This change is reasonable and make more readable. Thanks!

@hsbt hsbt merged commit 4538838 into ruby:master Oct 1, 2024
28 checks passed
@pvdb pvdb deleted the refactor_heredocs branch October 1, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants