Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ0hn committed Oct 31, 2024
1 parent 5fad807 commit 94508bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/Export-Excel.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Describe ExportExcel -Tag "ExportExcel" {
}
it "Created the worksheet with the expected name, number of rows and number of columns " {
$ws.Name | Should -Be "sheet1"
$ws.Dimension.Columns | Should -Be 28
$ws.Dimension.Columns | Should -Be 29
$ws.Dimension.Rows | Should -Be 2
}
it "Set a date in Cell A2 " {
Expand Down Expand Up @@ -330,7 +330,7 @@ Describe ExportExcel -Tag "ExportExcel" {
it "Creates no formula in cell AC2 NotAFormula (NoFormulaConversion) " {
$ws.Cells[2, 29].Value | Should -Be '=SUM(2,3)'
$ws.Cells[2, 29].Value.GetType().name | Should -Be 'String'
$ws.Cells[2, 29].Formula | Should -Be [string]::Empty
$ws.Cells[2, 29].Formula | Should -Be ''
}
}

Expand Down

0 comments on commit 94508bc

Please sign in to comment.