Refactor code to use 'any' type and improve context handling
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -21,7 +21,7 @@ func TestAddSummaryPivotSheetCreatesPivotTables(t *testing.T) {
|
||||
t.Fatalf("SetSheetRow header failed: %v", err)
|
||||
}
|
||||
|
||||
row1 := []interface{}{"vm-1", "dc-1", "pool-1", 4.0, 16.0, 1.0}
|
||||
row1 := []any{"vm-1", "dc-1", "pool-1", 4.0, 16.0, 1.0}
|
||||
if err := xlsx.SetSheetRow(dataSheet, "A2", &row1); err != nil {
|
||||
t.Fatalf("SetSheetRow data failed: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user