-
-
Notifications
You must be signed in to change notification settings - Fork 478
Closed
Milestone
Description
Checklist
- Issue has a meaningful title
- I have searched the existing issues. See all issues
- I have tested using the latest version of Pester. See Installation and update guide.
What is the issue?
The command Should-BeFasterThan does have the parameter Because in the comment-based help, but it is missing as an actual parameter.
Pester/src/functions/assert/Time/Should-BeFasterThan.ps1
Lines 12 to 13 in 41acb1b
| .PARAMETER Because | |
| The reason why the actual value should be faster than the expected value. |
Pester/src/functions/assert/Time/Should-BeFasterThan.ps1
Lines 39 to 44 in 41acb1b
| param ( | |
| [Parameter(Position = 1, ValueFromPipeline = $true)] | |
| $Actual, | |
| [Parameter(Position = 0)] | |
| $Expected | |
| ) |
Actually the same issue exist for all the "time" commands: https://github.com/pester/Pester/tree/main/src/functions/assert/Time
Expected Behavior
Able to use Because.
Steps To Reproduce
n/a
Describe your environment
n/a
Possible Solution?
Just adding parameter will do, as the code exist in the function to use it. 🤔
nohwnd
Metadata
Metadata
Assignees
Labels
No labels