From 3ea6fde928a53c458b7b3f4edd39225e1a81b004 Mon Sep 17 00:00:00 2001 From: Thomas Hofkens Date: Mon, 14 Nov 2022 17:54:15 +0100 Subject: [PATCH] changelog update + Pester test fix for powershell 5.1 --- __tests__/Path.tests.ps1 | 5 +++-- changelog.md | 7 ++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/__tests__/Path.tests.ps1 b/__tests__/Path.tests.ps1 index 3cac018..7183884 100644 --- a/__tests__/Path.tests.ps1 +++ b/__tests__/Path.tests.ps1 @@ -1,11 +1,12 @@ Describe "Test reading relative paths" { BeforeAll { $script:xlfileName = "TestR.xlsx" - @{data = 1 } | Export-Excel (Join-Path $PWD "TestR.xlsx") + If ([String]::IsNullOrEmpty($PWD)) { $PWD = $PSScriptRoot } + @{data = 1 } | Export-Excel (Join-Path $PWD "TestR.xlsx") } AfterAll { - Remove-Item (Join-Path $PWD "$($script:xlfileName)") + Remove-Item (Join-Path $PWD "$($script:xlfileName)") } It "Should read local file".PadRight(90) { diff --git a/changelog.md b/changelog.md index 08478ee..7ea009a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,11 @@ # 7.8.3 -- Extended Export-Excel with parameter TableTotalSettings. Thank you [Thomas Hofkens](https://github.com/thkn-hofa) +Thanks [Thomas Hofkens](https://github.com/thkn-hofa) + +- Extended Export-Excel with parameter TableTotalSettings +- New Feature: Set-CellComment +- Fix Pester error for countries with ',' as decimal separator +- Fix Pester error for Windows PowerShell 5.1 # 7.8.2