????

Your IP : 18.218.251.50


Current Path : C:/Program Files/WindowsPowerShell/Modules/Pester/3.4.0/Functions/Assertions/
Upload File :
Current File : C:/Program Files/WindowsPowerShell/Modules/Pester/3.4.0/Functions/Assertions/Match.ps1

function PesterMatch($value, $expectedMatch) {
    return ($value -match $expectedMatch)
}

function PesterMatchFailureMessage($value, $expectedMatch) {
    return "Expected: {$value} to match the expression {$expectedMatch}"
}

function NotPesterMatchFailureMessage($value, $expectedMatch) {
    return "Expected: ${value} to not match the expression ${expectedMatch}"
}