????

Your IP : 18.222.146.86


Current Path : C:/Program Files (x86)/WindowsPowerShell/Modules/Pester/3.4.0/Functions/Assertions/
Upload File :
Current File : C:/Program Files (x86)/WindowsPowerShell/Modules/Pester/3.4.0/Functions/Assertions/BeLike.Tests.ps1

Set-StrictMode -Version Latest

InModuleScope Pester {
    Describe "BeLike" {
        It "returns true for things that are like wildcard" {
            PesterBeLike "foobar" "*ob*" | Should Be $true
        }

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

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