fix test case
This commit is contained in:
parent
8ea6dc2a2d
commit
bfb18cd684
@ -43,7 +43,7 @@ Describe 'Update-ModuleMeta' {
|
|||||||
}
|
}
|
||||||
It 'Update test module manifest' {
|
It 'Update test module manifest' {
|
||||||
{ Update-ModuleMeta } | Should -Not -Throw
|
{ Update-ModuleMeta } | Should -Not -Throw
|
||||||
$data = Test-ModuleManifest -Path './resources/MyModule.psd1'
|
$data = Import-PowerShellDataFile -Path './resources/MyModule.psd1'
|
||||||
$data.ModuleVersion | Should -Be '9.9.9'
|
$data.ModuleVersion | Should -Be '9.9.9'
|
||||||
$data.PrivateData.PSData.Prerelease | Should -Be 'dev9'
|
$data.PrivateData.PSData.Prerelease | Should -Be 'dev9'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user