diff --git a/ImportExcel.Tests.ps1 b/ImportExcel.Tests.ps1 index 91d8042..faacee7 100644 --- a/ImportExcel.Tests.ps1 +++ b/ImportExcel.Tests.ps1 @@ -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 + } + } + } } \ No newline at end of file diff --git a/ImportExcel.psm1 b/ImportExcel.psm1 index 777f5d1..d88e8ae 100644 --- a/ImportExcel.psm1 +++ b/ImportExcel.psm1 @@ -39,7 +39,6 @@ if ($PSVersionTable.PSVersion.Major -ge 5) { . $PSScriptRoot\Plot.ps1 Function New-Plot { - [OutputType([PSPlot])] Param() [PSPlot]::new()