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

Add tests for multiple comments #13890

Merged
merged 2 commits into from Nov 25, 2022
Merged

Add tests for multiple comments #13890

merged 2 commits into from Nov 25, 2022

Conversation

fisker
Copy link
Sponsor Member

@fisker fisker commented Nov 24, 2022

Description

Close #3105

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

/* istanbul ignore if */ // debug case currently not triggered
if (true) {
x;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be ideal to add \n at the end of the file, but that’s minor.

@fisker fisker changed the title Add tests for #3105 Add tests for multiple comments Nov 25, 2022
@fisker fisker merged commit 655a161 into prettier:main Nov 25, 2022
@fisker fisker deleted the 3105 branch November 25, 2022 02:52
medikoo pushed a commit to medikoo/prettier-elastic that referenced this pull request Jan 4, 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

Successfully merging this pull request may close these issues.

Multiple comments on top of if statement get separated
2 participants