Update and fix tests

This commit is contained in:
dfinke
2018-12-30 08:52:19 -05:00
parent 56acf56430
commit 9217962306

View File

@@ -18,9 +18,11 @@ Describe "Remove Worksheet" {
it "Should delete Target2" {
Remove-WorkSheet -Path $xlFile -WorksheetName Target2
$actual = (Get-ExcelSheetInfo -Path $xlFile).count
$actual = Get-ExcelSheetInfo -Path $xlFile
$actual | Should Be 2
$actual.Count | Should Be 2
$actual[0].Name | Should Be "Target1"
$actual[1].Name | Should Be "Target3"
}
}
}