| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| } | ||
|
|
||
| It "Get-PSCallStack returns Arguments" { | ||
| & { (Get-PSCallStack)[0].Arguments } 'foo' | Should -Match 'foo' |
There was a problem hiding this comment.
Please also add a test for the case where the scriptblock has formal parameters:
& { param ($x) (Get-PSCallStack)[0].Arguments } 'foo' and another where multiple arguments are passed to the scriptblock:
& { (Get-PSCallStack)[0].Arguments } 'foo' 'bar'
Sorry, something went wrong.
There was a problem hiding this comment.
Done.
Sorry, something went wrong.
|
🎉v7.0.0-rc.1 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Fix #11208
PR Context
The regression comes from #6950
PR Checklist