File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -23,25 +23,25 @@ Describe 'Module manifest' {
23
23
It " has a valid version in the manifest" {
24
24
$script :manifest.Version -as [Version ] | Should Not BeNullOrEmpty
25
25
}
26
-
26
+
27
27
It ' has a valid description' {
28
28
$script :manifest.Description | Should Not BeNullOrEmpty
29
29
}
30
30
31
31
It ' has a valid author' {
32
32
$script :manifest.Author | Should Not BeNullOrEmpty
33
33
}
34
-
34
+
35
35
It ' has a valid guid' {
36
- {
37
- [guid ]::Parse($script :manifest.Guid )
36
+ {
37
+ [guid ]::Parse($script :manifest.Guid )
38
38
} | Should Not throw
39
39
}
40
-
40
+
41
41
It ' has a valid copyright' {
42
42
$script :manifest.CopyRight | Should Not BeNullOrEmpty
43
43
}
44
-
44
+
45
45
# Only for DSC modules
46
46
# It 'exports DSC resources' {
47
47
# $dscResources = ($Manifest.psobject.Properties | Where Name -eq 'ExportedDscResources').Value
@@ -51,7 +51,7 @@ Describe 'Module manifest' {
51
51
$script :changelogVersion = $null
52
52
It " has a valid version in the changelog" {
53
53
foreach ($line in (Get-Content $changelogPath )) {
54
- if ($line -match " ^## (?<Version>(\d+\.){1,3}\d+) \(\d{4}-\d{2}-\d{2}\) " ) {
54
+ if ($line -match " ^## (?<Version>(\d+\.){1,3}\d+)" ) {
55
55
$script :changelogVersion = $matches.Version
56
56
break
57
57
}
You can’t perform that action at this time.
0 commit comments