mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Remove / and /tmp references
This commit is contained in:
1 parent
cb6d7011d9
commit
bdffd103d9
22 files changed
+91
-112
No files matched your search
@@ -13,7 +13,7 @@ Describe "Invoke-Expression" {
|
||||
}
|
||||
|
||||
It "Should return the echoed text from a script" {
|
||||
$testfile = "$here/assets/echoscript.ps1"
|
||||
$testfile = Join-Path -Path (Join-Path $here -ChildPath assets) -ChildPath echoscript.ps1
|
||||
$testcommand = "echo pestertestscript"
|
||||
$testcommand | Add-Content -Path $testfile
|
||||
(Invoke-Expression $testfile) | Should Be "pestertestscript"
|
||||
@@ -21,7 +21,7 @@ Describe "Invoke-Expression" {
|
||||
}
|
||||
|
||||
It "Should return the echoed text from a script from the alias" {
|
||||
$testfile = "$here/assets/echoscript.ps1"
|
||||
$testfile = Join-Path -Path (Join-Path $here -ChildPath assets) -ChildPath echoscript.ps1
|
||||
$testcommand = "echo pestertestscript"
|
||||
$testcommand | Add-Content -Path $testfile
|
||||
(iex $testfile) | Should Be "pestertestscript"
|
||||
|
||||
Reference in new issue
Block a user