package vaultik_test import ( "testing" "sneak.berlin/go/vaultik/internal/vaultik" ) // TestSnapshotCreateOptions_PruneFlag verifies the Prune field exists on // SnapshotCreateOptions and can be set. func TestSnapshotCreateOptions_PruneFlag(t *testing.T) { t.Parallel() opts := &vaultik.SnapshotCreateOptions{ Prune: true, } if !opts.Prune { t.Error("Expected Prune to be true") } opts2 := &vaultik.SnapshotCreateOptions{ Prune: false, } if opts2.Prune { t.Error("Expected Prune to be false") } }