From 637c11c2e6ca740ac50162b9649bbc28fe24de3d Mon Sep 17 00:00:00 2001 From: dfinke Date: Sat, 10 Jun 2023 16:40:25 -0400 Subject: [PATCH] needs to work xplat --- __tests__/Get-ExcelFileSchema.tests.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/__tests__/Get-ExcelFileSchema.tests.ps1 b/__tests__/Get-ExcelFileSchema.tests.ps1 index 925922b..c5ca5d8 100644 --- a/__tests__/Get-ExcelFileSchema.tests.ps1 +++ b/__tests__/Get-ExcelFileSchema.tests.ps1 @@ -42,7 +42,8 @@ South,Delaware,712,508.55 $actual.Rows | Should -Be 10 $actual.Columns | Should -Be 4 $actual.Address | Should -BeExactly "A1:D10" - $actual.Path | Should -BeExactly "TestDrive:\" + + $actual.Path | Should -BeExactly ("TestDrive:" + [System.IO.Path]::DirectorySeparatorChar) $actual.PropertyNames.Count | Should -Be 4 $actual.PropertyNames[0] | Should -BeExactly "Region"