Private/Get-Platform.Tests.ps1

1
2
3
4
5
6
7
8
9
10
11
BeforeAll {
    . $PSCommandPath.Replace('.Tests.ps1','.ps1')
}

Describe 'Get-Platform' {

    It 'Should return a valid platform' {
        Get-Platform | Should -BeIn @('windows','darwin','linux')
    }

}