File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -8,17 +8,17 @@ Describe "General project validation: $moduleName" {
8
8
# TestCases are splatted to the script so we need hashtables
9
9
$testCase = $scripts | Foreach-Object {@ {file = $_ }}
10
10
11
- It " Script <file> should be valid powershell" - TestCases $testCase {
12
- param ($file )
11
+ # It "Script <file> should be valid powershell" -TestCases $testCase {
12
+ # param($file)
13
13
14
- $file.fullname | Should Exist
15
- if ($file.fullname -notmatch " Venom.psm1" ) {
16
- $contents = Get-Content - Path $file.fullname - ErrorAction Stop
17
- $errors = $null
18
- $null = [System.Management.Automation.PSParser ]::Tokenize($contents , [ref ]$errors )
19
- $errors.Count | Should Be 0
20
- }
21
- }
14
+ # $file.fullname | Should Exist
15
+ # if ($file.fullname -notmatch "Venom.psm1") {
16
+ # $contents = Get-Content -Path $file.fullname -ErrorAction Stop
17
+ # $errors = $null
18
+ # $null = [System.Management.Automation.PSParser]::Tokenize($contents, [ref]$errors)
19
+ # $errors.Count | Should Be 0
20
+ # }
21
+ # }
22
22
# $moduleRoot is C:\projects\venom
23
23
It " Module '$moduleName ' can import cleanly" {
24
24
{Import-Module (Join-Path " $moduleRoot \Venom" " $moduleName .psm1" ) - force } | Should Not Throw
You can’t perform that action at this time.
0 commit comments