Skip to content

Fixed test to not create a file called 1 when run - #4021

Closed
Steve Lee (SteveL-MSFT) wants to merge 1 commit into
PowerShell:masterfrom
SteveL-MSFT:incorrect-comparision-operator
Closed

Steve Lee (SteveL-MSFT) wants to merge 1 commit into
PowerShell:masterfrom
SteveL-MSFT:incorrect-comparision-operator

Conversation

@SteveL-MSFT

Copy link
Copy Markdown
Member

When using Start-PSPester a file called 1 was being created. This is due to incorrect usage of a redirection operator > when it should have been the comparison operator -gt. After fixing this, a new
code path started executing which had incorrect assumption as the Format-Hex cmdlet works with
16-bytes at a time, so fixed that logic.

… originally resulted into created a file called `1`
@MiaRomero

Copy link
Copy Markdown
Member

I fixed this same thing in PR #3800 but it doesn't look like it was merged.

@SteveL-MSFT

Copy link
Copy Markdown
Member Author

Maria Romero (@MiaRomero) didn't see your PR, closing this one

@SteveL-MSFT
Steve Lee (SteveL-MSFT) deleted the incorrect-comparision-operator branch June 15, 2017 20:58
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.

4 participants