Skip to content

Add resolved test cases#18358

Merged
fisker merged 7 commits intoprettier:mainfrom
seiyab:add-resolved-test-cases
Nov 29, 2025
Merged

Add resolved test cases#18358
fisker merged 7 commits intoprettier:mainfrom
seiyab:add-resolved-test-cases

Conversation

@seiyab
Copy link
Copy Markdown
Collaborator

@seiyab seiyab commented Nov 28, 2025

Description

Closes #8201, closes #4460, closes #4604, closes #5886, closes #6250

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.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Nov 28, 2025

Open in StackBlitz

yarn add https://pkg.pr.new/prettier/prettier/@prettier/[email protected]
yarn add https://pkg.pr.new/prettier/prettier/@prettier/[email protected]
yarn add https://pkg.pr.new/prettier/[email protected]

commit: 6562d3d

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 28, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 6562d3d
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/692a9bf5051c0d00084b1f67
😎 Deploy Preview https://deploy-preview-18358--prettier.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread tests/integration/cli/ignore-relative-path/level1-glob/α-shouldNotBeIgnored.js Outdated
@seiyab seiyab force-pushed the add-resolved-test-cases branch from 2ddf655 to fd13789 Compare November 28, 2025 13:42
@seiyab
Copy link
Copy Markdown
Collaborator Author

seiyab commented Nov 28, 2025

I consider #4460 (comment) is different problem from #4460. #4460 was caused by invalid use of fill() and it was resolved by correcting fill() usage. Created #18360.

@@ -1,2 +1,3 @@
level1/level2/
level1-glob/**/level3-glob/*.js
α-shouldNotBeFormat.js
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

#6250 Seems talking about ignoring dir, but file inside not ignored.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's add another dir to test?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I remember we have a dir about special characters, maybe put there.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

ignored directory is ignored. ignored/中文.js is a unicode character file in an ignored directory.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Add another file with α in name and revert fd13789

.class {
flex-direction: column\${long_cond && long_cond && long_cond
? "-reverse"
: ""};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

the ternary is ugly

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Raised #18369

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I missed to comment it. I consider ugly format is different problem from breaking CSS rule.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, I didn't ask you to solve 😄

Copy link
Copy Markdown
Member

@fisker fisker left a comment

Choose a reason for hiding this comment

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

Thank you for taking care of these old issues!

@fisker fisker merged commit 9266e3e into prettier:main Nov 29, 2025
33 checks passed
@seiyab seiyab deleted the add-resolved-test-cases branch November 29, 2025 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment