mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Run a more strict formatter over the code (#11312)
* Update tooling * Run gofumpt * go mod vendor
This commit is contained in:
@@ -24,7 +24,6 @@ func TestScanView(t *testing.T) {
|
||||
err := ScanView(context.Background(), s, func(path string) {
|
||||
keys = append(keys, path)
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -56,7 +55,6 @@ func TestCollectKeys(t *testing.T) {
|
||||
s := prepKeyStorage(t)
|
||||
|
||||
keys, err := CollectKeys(context.Background(), s)
|
||||
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -70,7 +68,6 @@ func TestCollectKeysPrefix(t *testing.T) {
|
||||
s := prepKeyStorage(t)
|
||||
|
||||
keys, err := CollectKeysWithPrefix(context.Background(), s, "foo")
|
||||
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user