Pester
Pester copied to clipboard
Don't throw legacy error when using Should operator after escaped linebreak
PR Summary
Fix false positive exception when specifying Should-operator after linebreak using backtick/escape char, ex.
1 | Should `
-Be 1
Provided as an alternative to removing the legacy-check though I'm not against removing it.
PR Checklist
- [x] PR has meaningful title
- [x] Summary describes changes
- [ ] PR is ready to be merged
- If not, use the arrow next to
Create Pull Requestto mark it as a draft. PR can be markedReady for reviewwhen it's ready.
- If not, use the arrow next to
- [x] Tests are added/update (if required)
- [ ] Documentation is updated/added (if required)
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
Added note to remove the whole syntax in 6.0.0 here https://github.com/pester/Pester/issues/2437
Do you still want to fix this, or close?