-
-
Notifications
You must be signed in to change notification settings - Fork 477
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
Format single item arrays as an array #2330
base: main
Are you sure you want to change the base?
Conversation
d6b32b2
to
e177a7d
Compare
I will have a look will need to touch the formatting code for assert as well. |
/backport to rel/5.x.x |
Started backporting to rel/5.x.x: https://github.com/pester/Pester/actions/runs/12678365405 |
**NOT real backport, ** sorry for spammin' you, testing backporting with new name format so automatic release notes don't have to be completely rewritten. |
/backport to rel/5.x.x |
Started backporting to rel/5.x.x: https://github.com/pester/Pester/actions/runs/12678407713 |
/backport to rel/5.x.x |
Started backporting to rel/5.x.x: https://github.com/pester/Pester/actions/runs/12698585823 |
PR Summary
Single item arrays are currently printed as single item without type-specific formatting because
Is-Value
expands them. Arrays with a single string or bool (more types?) will not be properly formatted.Related #2329
PR Checklist
Create Pull Request
to mark it as a draft. PR can be markedReady for review
when it's ready.