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

Fix for #436 #437

Merged
merged 2 commits into from
Dec 10, 2015
Merged

Fix for #436 #437

merged 2 commits into from
Dec 10, 2015

Conversation

dlwyatt
Copy link
Member

@dlwyatt dlwyatt commented Dec 10, 2015

I didn't like exporting another "ignore this" command from Pester, but it's the only way I could think of to solve #436 while not also introducing a regression of #303 . This way, the only way someone should be able to break things is by mocking Pester's SafeGetCommand function, and I'm comfortable with just saying "don't do that" more than I would be for telling people not to mock Get-Command or not to name a parameter $ExecutionContext (though the latter is pretty iffy; people should really be careful not to overwrite automatic variables.)

@dlwyatt dlwyatt merged commit 975011d into pester:master Dec 10, 2015
@dlwyatt dlwyatt deleted the MockGetCommand branch December 10, 2015 14:33
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.

None yet

1 participant