HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Program Files/WindowsPowerShell/Modules/Pester/3.4.0/Functions/Assertions/Match.Tests.ps1
Set-StrictMode -Version Latest

InModuleScope Pester {
    Describe "Match" {
        It "returns true for things that match" {
            PesterMatch "foobar" "ob" | Should Be $true
        }

        It "returns false for things that do not match" {
            PesterMatch "foobar" "slime" | Should Be $false
        }

        It "passes for strings with different case" {
            PesterMatch "foobar" "FOOBAR" | Should Be $true
        }

        It "uses regular expressions" {
            PesterMatch "foobar" "\S{6}" | Should Be $true
        }
    }
}