Add support for dot sourcing with spaces in path
Result
. C:\Users\taavast3\OneDrive\UserGroups\Presentations\2019.06.PsConf2019\Learn classes with Class\Code\02.CheatingTDD.Class.Polymorphism.ps1
Describe '[Animal]-[Constructors]'{
}# end of Describe block
Describe '[Cat]-[Constructors]'{
It '[Cat]-[Constructor]([String]Name) should Not Throw' {
# -- Arrange
[String]$Name=''
# -- Act
# -- Assert
{[Cat]::New($Name)} | Should Not Throw
}# end of it block
Should be
. "C:\Users\taavast3\OneDrive\UserGroups\Presentations\2019.06.PsConf2019\Learn classes with Class\Code\02.CheatingTDD.Class.Polymorphism.ps1"
Describe '[Animal]-[Constructors]'{
}# end of Describe block
Describe '[Cat]-[Constructors]'{
It '[Cat]-[Constructor]([String]Name) should Not Throw' {
# -- Arrange
[String]$Name=''
# -- Act
# -- Assert
{[Cat]::New($Name)} | Should Not Throw
}# end of it block
Add support for dot sourcing with spaces in path Result
Should be