Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Closed
SteveL-MSFT wants to merge 1 commit into
PowerShell:masterPowerShell/PowerShell:masterfrom
SteveL-MSFT:incorrect-comparision-operatorSteveL-MSFT/PowerShell:incorrect-comparision-operatorCopy head branch name to clipboard
Closed

Fixed test to not create a file called 1 when run#4021
SteveL-MSFT wants to merge 1 commit into
PowerShell:masterPowerShell/PowerShell:masterfrom
SteveL-MSFT:incorrect-comparision-operatorSteveL-MSFT/PowerShell:incorrect-comparision-operatorCopy head branch name to clipboard

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

@MiaRomero didn't see your PR, closing this one

@SteveL-MSFT 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.