????

Your IP : 3.128.95.177


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/ContainExactly.ps1

function PesterContainExactly($file, $contentExpecation) {
    return ((& $SafeCommands['Get-Content'] -Encoding UTF8 $file) -cmatch $contentExpecation)
}

function PesterContainExactlyFailureMessage($file, $contentExpecation) {
    return "Expected: file ${file} to contain exactly {$contentExpecation}"
}

function NotPesterContainExactlyFailureMessage($file, $contentExpecation) {
    return "Expected: file {$file} to not contain exactly ${contentExpecation} but it did"
}