mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
@@ -101,7 +101,7 @@ func TestMain(m *testing.M) {
|
||||
code = m.Run()
|
||||
}
|
||||
|
||||
// This can't be deferred, as os.Exit simpy does not care
|
||||
// This can't be deferred, as os.Exit simply does not care
|
||||
if err := pool.Purge(resource); err != nil {
|
||||
logger.Fatalf("could not purge resource: %s", err)
|
||||
}
|
||||
@@ -556,7 +556,7 @@ func Test_stsSessionName(t *testing.T) {
|
||||
}
|
||||
got, err := stsSessionName()
|
||||
assert.Error(t, err)
|
||||
assert.ErrorContains(t, err, "failed to construct STS session nam")
|
||||
assert.ErrorContains(t, err, "failed to construct STS session name")
|
||||
assert.Empty(t, got)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user