Skip to content

Commit 341c17c

Browse files
Fix test
1 parent e3e01df commit 341c17c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/libvirt/capabilities/client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ func TestConvertWithRealExampleData(t *testing.T) {
376376

377377
// Test helper function to create a mock capabilities structure
378378
func createMockCapabilities(arch string, cells []mockCell) Capabilities {
379-
capabilitiesCells := make([]CapabilitiesHostTopologyCell, 0, len(cells))
379+
capabilitiesCells := make([]CapabilitiesHostTopologyCell, len(cells))
380380
for i, cell := range cells {
381381
capabilitiesCells[i] = CapabilitiesHostTopologyCell{
382382
ID: cell.ID,

0 commit comments

Comments
 (0)