mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-03 03:23:31 -05:00
fixing typos in unittesting
This commit is contained in:
2
.github/workflows/unittests.yaml
vendored
2
.github/workflows/unittests.yaml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
- name: Install Pester
|
- name: Install Pester
|
||||||
run: |
|
run: |
|
||||||
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
|
||||||
Install-Module -Name Pester -Force -AllowClobber
|
Install-Module -Name Pester -Force -SkipPublisherCheck -AllowClobber
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Run Pester tests
|
- name: Run Pester tests
|
||||||
|
@ -37,7 +37,7 @@ Describe "Functions"{
|
|||||||
basename = $($psitem.BaseName)
|
basename = $($psitem.BaseName)
|
||||||
fullname = $psitem.FullName
|
fullname = $psitem.FullName
|
||||||
} {
|
} {
|
||||||
Get-ChildItem function:\ -Name $basename | Should -Not -BeNullOrEmpty
|
Get-ChildItem function:\$basename | Should -Not -BeNullOrEmpty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user