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