Merge pull request #316 from ili101/PSPlot

Fixes `PSPlot` OutputType
This commit is contained in:
Doug Finke
2018-04-16 15:17:57 -04:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -2070,4 +2070,15 @@ Context 'special cases' {
}
}
}
}
Context 'General Tests' {
in $TestDrive {
Describe 'Get Help' {
it 'New-Plot' {
#Get-Help : Unable to find type [PSPlot].
{Help New-Plot} | Should -Not -Throw
}
}
}
}

View File

@@ -39,7 +39,6 @@ if ($PSVersionTable.PSVersion.Major -ge 5) {
. $PSScriptRoot\Plot.ps1
Function New-Plot {
[OutputType([PSPlot])]
Param()
[PSPlot]::new()