mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Remove use of cmdlet aliases from .\test\powershell (#8546)
This commit is contained in:
1 parent
767c13fca1
commit
70de294fea
33 files changed
+118
-118
No files matched your search
@@ -67,20 +67,20 @@ set-psbreakpoint -command foo
|
||||
}
|
||||
|
||||
It "-script and -line can take multiple items" {
|
||||
$brk = sbp -line 11,12,13 -column 1 -script $scriptFileName,$scriptFileName
|
||||
$brk = Set-PSBreakpoint -line 11,12,13 -column 1 -script $scriptFileName,$scriptFileName
|
||||
$brk.Line | Should -BeIn 11,12,13
|
||||
$brk.Column | Should -BeIn 1
|
||||
Remove-PSBreakPoint -Id $brk.Id
|
||||
}
|
||||
|
||||
It "-script and -line are positional" {
|
||||
$brk = sbp $scriptFileName 13
|
||||
$brk = Set-PSBreakpoint $scriptFileName 13
|
||||
$brk.Line | Should -Be 13
|
||||
Remove-PSBreakPoint -Id $brk.Id
|
||||
}
|
||||
|
||||
It "-script, -line and -column are positional" {
|
||||
$brk = sbp $scriptFileName 13 1
|
||||
$brk = Set-PSBreakpoint $scriptFileName 13 1
|
||||
$brk.Line | Should -Be 13
|
||||
$brk.Column | Should -Be 1
|
||||
Remove-PSBreakPoint -Id $brk.Id
|
||||
|
||||
Reference in new issue
Block a user