Replace $env:TEMP

This commit is contained in:
ili101
2019-08-26 15:55:43 +03:00
parent 6650ecd5b8
commit d1592f8739
16 changed files with 73 additions and 86 deletions

View File

@@ -1,8 +1,4 @@
if (-not $env:TEMP) {$env:TEMP = [IO.Path]::GetTempPath() -replace "/$","" }
$notWindows = ($PSVersionTable.os -and $PSVersionTable.os -notMatch 'Windows' )
$path = Join-Path $Env:TEMP "test.xlsx"
$path = "TestDrive:\test.xlsx"
describe "Consistent passing of ranges." {
if ($notWindows) {Write-warning -message "Test uses get-service so only works on Windows" ; return}
Context "Conditional Formatting" {