Skip to content

Commit aac9156

Browse files
author
Friedrich Weinmann
committed
Removed test no longer needed
1 parent 0560968 commit aac9156

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

PSFramework/tests/general/manifest.Tests.ps1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Describe "Validating the module manifest" {
22
$moduleRoot = (Resolve-Path "$PSScriptRoot\..\..").Path
33
$manifest = ((Get-Content "$moduleRoot\PSFramework.psd1") -join "`n") | Invoke-Expression
4-
[version]$moduleVersion = Get-Item "$moduleRoot\PSFramework.psm1" | Select-String -Pattern '\$script:ModuleVersion = "(.*?)"' | ForEach-Object { $_.Matches[0].Groups[1].Value }
54
Context "Basic resources validation" {
65
$files = Get-ChildItem "$moduleRoot\functions" -Recurse -File -Filter "*.ps1"
76
It "Exports all functions in the public folder" {
@@ -18,10 +17,6 @@ Describe "Validating the module manifest" {
1817
$files = Get-ChildItem "$moduleRoot\internal\functions" -Recurse -File -Filter "*.ps1"
1918
$files | Where-Object BaseName -In $manifest.FunctionsToExport | Should -BeNullOrEmpty
2019
}
21-
22-
It "Has the same version as the psm1 file" {
23-
([version]$manifest.ModuleVersion) | Should -Be $moduleVersion
24-
}
2520
}
2621

2722
Context "Individual file validation" {

0 commit comments

Comments
 (0)