nohwnd / Assert

A set of advanced assertions for Pester to simplify how you write tests.
MIT License
101 stars 12 forks source link

`Get-AssertionMessage` should replace tokens without case sensitivity #26

Open nohwnd opened 6 years ago

nohwnd commented 6 years ago

Currently I use .Replace to replace the <expected> and other tokens in Get-AssertionMessage. This is unnecessary and should be replaced case-insensitive replacesmen. Eg. with -replace [regex]::Escape(.