743983390e
* Capitalize 'Should' command and fix whitespace ```powershell $_ -ireplace '\s?\|\s?should\b',' | Should' ``` * Capitalise and apply hyphen to 'Not' parameter ```powershell $_ -ireplace '(\| Should) not\b','$1 -Not' ``` * Capitalise and apply hyphen to 'Be' parameter ```powershell $_ -ireplace '(\| Should(?: -Not)?) -?be\b','$1 -Be' ``` * Capitalise and apply hyphen to 'BeExactly' parameter $_ -ireplace '(\| Should(?: -Not)?) -?beexactly\b','$1 -BeExactly' * Capitalise and apply hyphen to 'BeGreaterThan' parameter ```powershell $_ -ireplace '(\| Should(?: -Not)?) -?begreaterthan\b','$1 -BeGreaterThan' ``` * Use 'BeTrue' parameter ```powershell $_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?true\b','$1 -BeTrue' ``` * Use 'BeFalse' parameter ```powershell $_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?false\b','$1 -BeFalse' ``` * Capitalise and apply hyphen to 'Match' parameter ```powershell $_ -ireplace '(\| Should(?: -Not)?)\s-?match\b','$1 -Match' ``` * Capitalise and apply hyphen to 'Throw' parameter ```powershell $_ -ireplace '(\| Should(?: -Not)?)\s-?throw\b','$1 -Throw' ``` * Capitalise and apply hyphen to 'BeNullOrEmpty' parameter ```powershell $_ -ireplace '(\| Should(?: -Not)?)\s-?benullorempty\b','$1 -BeNullOrEmpty' ``` * Capitalise 'Because' parameter ```powershell $_ -ireplace '\s-because\b',' -Because' ``` * Fix 'BeNullOrEmpty' |
||
---|---|---|
.. | ||
assets | ||
Add-Content.Tests.ps1 | ||
Alias.Tests.ps1 | ||
Clear-Content.Tests.ps1 | ||
Clear-EventLog.Tests.ps1 | ||
Clear-Item.Tests.ps1 | ||
Clipboard.Tests.ps1 | ||
ControlService.Tests.ps1 | ||
Convert-Path.Tests.ps1 | ||
Copy.Item.Tests.ps1 | ||
FileSystem.Tests.ps1 | ||
FunctionProvider.Tests.ps1 | ||
Get-ChildItem.Tests.ps1 | ||
Get-ComputerInfo.Tests.ps1 | ||
Get-Content.Tests.ps1 | ||
Get-EventLog.Tests.ps1 | ||
Get-HotFix.Tests.ps1 | ||
Get-Item.Tests.ps1 | ||
Get-ItemProperty.Tests.ps1 | ||
Get-Location.Tests.ps1 | ||
Get-Process.Tests.ps1 | ||
Get-PSDrive.Tests.ps1 | ||
Get-PSProvider.Tests.ps1 | ||
Get-Service.Tests.ps1 | ||
Hierarchical-Path.Tests.ps1 | ||
ItemProperty.Tests.ps1 | ||
Join-Path.Tests.ps1 | ||
Move-Item.Tests.ps1 | ||
New-EventLog.Tests.ps1 | ||
New-Item.Tests.ps1 | ||
New-PSDrive.Tests.ps1 | ||
Pester.Commands.Cmdlets.NoNewlineParameter.Tests.ps1 | ||
Pop-Location.Tests.ps1 | ||
PSDrive.Tests.ps1 | ||
Push-Location.Tests.ps1 | ||
Registry.Tests.ps1 | ||
Remove-EventLog.Tests.ps1 | ||
Remove-Item.Tests.ps1 | ||
Rename-Computer.Tests.ps1 | ||
Rename-Item.Tests.ps1 | ||
Resolve-Path.Tests.ps1 | ||
Restart-Computer.Tests.ps1 | ||
Set-Content.Tests.ps1 | ||
Set-Item.Tests.ps1 | ||
Set-Location.Tests.ps1 | ||
Set-Service.Tests.ps1 | ||
Split-Path.Tests.ps1 | ||
Start-Process.Tests.ps1 | ||
Stop-Computer.Tests.ps1 | ||
Test-Connection.Tests.ps1 | ||
Test-Path.Tests.ps1 | ||
TimeZone.Tests.ps1 | ||
Unimplemented-Cmdlet.Tests.ps1 | ||
UnixStat.Tests.ps1 | ||
Variable.Tests.ps1 |