1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 21:45:26 +01:00
Files
sops/vendor/github.com/frankban/quicktest/export_test.go
AJ Bahnken 6910225545 Adds support for sops publish-ing to Vault (#494)
* Add vault/api to vendor/

* Adds support for sops publish-ing to Vault

* Adds support for publishing secrets (unencrypted) to Vault
* Adds a new EmitAsMap for TreeBanches
* Adds documentation about sops publish-ing to Vault
* Initial integration/functional test for publishing to vault
2019-07-16 14:33:59 -07:00

19 lines
420 B
Go

// Licensed under the MIT license, see LICENCE file for details.
package quicktest
var Prefixf = prefixf
// WithVerbosity returns the given checker with a verbosity level of v.
// A copy of the original checker is made if mutating it is required.
func WithVerbosity(c Checker, v bool) Checker {
if c, ok := c.(*cmpEqualsChecker); ok {
c := *c
c.verbose = func() bool {
return v
}
return &c
}
return c
}