From 735a702f1ccb85869a8c5164980a520baa4eaff6 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 11 Apr 2016 10:45:10 -0700 Subject: [PATCH] Remove alias tests for Write-Output The `echo` and `write` aliases were removed, which make these tests inaccurate (but did not fail them). --- test/powershell/Write-Output.Tests.ps1 | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/powershell/Write-Output.Tests.ps1 b/test/powershell/Write-Output.Tests.ps1 index 2e1ee97185..89c2210bb4 100644 --- a/test/powershell/Write-Output.Tests.ps1 +++ b/test/powershell/Write-Output.Tests.ps1 @@ -35,22 +35,6 @@ Describe "Write-Output" { } } - Context "Alias Tests" { - It "Should have the same result between the echo alias and the cmdlet" { - $alias = echo -InputObject $testString - $cmdlet = Write-Output -InputObject $testString - - $alias | Should Be $cmdlet - } - - It "Should have the same result between the write alias and the cmdlet" { - $alias = write -InputObject $testString - $cmdlet = Write-Output -InputObject $testString - - $alias | Should Be $cmdlet - } - } - Context "Enumerate Objects" { $enumerationObject = @(1,2,3) It "Should see individual objects when not using the NoEnumerate switch" {