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 option to disable v5 syntax #2500

Merged
merged 7 commits into from
Jun 14, 2024
Merged

Add option to disable v5 syntax #2500

merged 7 commits into from
Jun 14, 2024

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Jun 13, 2024

Add option to disable Should -Be and other assertions shipped with Pester v5, so when you migrate you don't accidentally regress.

Fix #2495

@nohwnd
Copy link
Member Author

nohwnd commented Jun 13, 2024

I am stupid, why is this a.b test writing error to the pipeline, I thought it is because Verify-Equal outputting the $actual (which it does), but now I give it only the message, and still it shows the error. No other test does this, and the code looks the same.

@nohwnd
Copy link
Member Author

nohwnd commented Jun 13, 2024

It must be the CI format, because it formats the output to be recognized by azdo.

@nohwnd nohwnd merged commit c60fd55 into main Jun 14, 2024
2 checks passed
@nohwnd nohwnd deleted the disable-v5-assertions branch June 14, 2024 08:26
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.

Option to disable old assertions
2 participants