mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-18 09:13:44 +00:00
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -39,7 +39,6 @@ if ($PSVersionTable.PSVersion.Major -ge 5) {
|
|||||||
. $PSScriptRoot\Plot.ps1
|
. $PSScriptRoot\Plot.ps1
|
||||||
|
|
||||||
Function New-Plot {
|
Function New-Plot {
|
||||||
[OutputType([PSPlot])]
|
|
||||||
Param()
|
Param()
|
||||||
|
|
||||||
[PSPlot]::new()
|
[PSPlot]::new()
|
||||||
|
|||||||
Reference in New Issue
Block a user