Test/Pester.3.3.8/tools/Functions/Assertions/MatchExactly.Tests.ps1
Set-StrictMode -Version Latest InModuleScope Pester { Describe "MatchExactly" { It "returns true for things that match exactly" { PesterMatchExactly "foobar" "ob" | Should Be $true } It "returns false for things that do not match exactly" { PesterMatchExactly "foobar" "FOOBAR" | Should Be $false } It "uses regular expressions" { PesterMatchExactly "foobar" "\S{6}" | Should Be $true } } } |