change throw message

This commit is contained in:
James Truher
2016-08-30 16:52:00 -07:00
parent 2824e136cb
commit 4dc09f504c
@@ -5,7 +5,7 @@
try
{
Import-PowerShellDataFile -Path /SomeMissingDirectory -ErrorAction Stop
Throw "Execution OK"
Throw "Command did not throw exception"
}
catch
{
@@ -18,7 +18,7 @@
try
{
Import-PowerShellDataFile ${TESTDRIVE} -ErrorAction Stop
Throw "Execution OK"
Throw "Command did not throw exception"
}
catch
{
@@ -33,7 +33,7 @@
try
{
Import-PowerShellDataFile $path -ErrorAction Stop
Throw "Execution OK"
Throw "Command did not throw exception"
}
catch
{
@@ -47,7 +47,7 @@
try
{
Import-PowerShellDataFile $path -ErrorAction Stop
Throw "Execution OK"
Throw "Command did not throw exception"
}
catch
{