mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-02-14 15:33:42 +00:00
Update and fix tests
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user