mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove Context for Import-Alias pester unit test
This commit is contained in:
@@ -62,8 +62,6 @@ Describe "Import-Alias DRT Unit Tests" -Tags DRT{
|
||||
Describe "Import-Alias" {
|
||||
$pesteraliasfile = Join-Path -Path (Join-Path $PSScriptRoot -ChildPath assets) -ChildPath pesteralias.txt
|
||||
|
||||
Context "Validate ability to import alias file" {
|
||||
|
||||
It "Should be able to import an alias file successfully" {
|
||||
{ Import-Alias $pesteraliasfile } | Should Not throw
|
||||
}
|
||||
@@ -81,6 +79,4 @@ Describe "Import-Alias" {
|
||||
(ipal $pesteraliasfile)
|
||||
(pesterecho pestertesting) | Should be "pestertesting"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user