Powershell prompt is garbled by Invoke-Pester #27

Closed
torbjornvatn opened this Issue Sep 19, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@torbjornvatn

My Powershell prompt gets "@{should=System.Object}" added to it when i run Invoke-Pester.

My test imports a module and calls functions from that. The functions contains Write-Host calls.

@AnthonyMastrean

This comment has been minimized.

Show comment
Hide comment
@AnthonyMastrean

AnthonyMastrean Sep 19, 2012

I also have this problem and was too ashamed to post it. Couldn't figure it out. Seems to be related to the ObjectAdaptations (types.ps1xml).

I also have this problem and was too ashamed to post it. Couldn't figure it out. Seems to be related to the ObjectAdaptations (types.ps1xml).

@scottmuc

This comment has been minimized.

Show comment
Hide comment
@scottmuc

scottmuc Sep 19, 2012

Contributor

Yeah, this is a known issue. I personally haven't had issues with the "@{should=..." but it does annoy me that it's there. Others have reported this here: https://github.com/scottmuc/Pester/issues/19

Contributor

scottmuc commented Sep 19, 2012

Yeah, this is a known issue. I personally haven't had issues with the "@{should=..." but it does annoy me that it's there. Others have reported this here: https://github.com/scottmuc/Pester/issues/19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment