Merge current v2.11 into v3.2
This commit is contained in:
commit
f62fc67418
6 changed files with 15 additions and 10 deletions
|
@ -820,7 +820,7 @@ func assertValidLogData(t *testing.T, expected string, logData []byte) {
|
|||
func captureStdout(t *testing.T) (out *os.File, restoreStdout func()) {
|
||||
t.Helper()
|
||||
|
||||
file, err := os.CreateTemp("", "testlogger")
|
||||
file, err := os.CreateTemp(t.TempDir(), "testlogger")
|
||||
require.NoError(t, err, "failed to create temp file")
|
||||
|
||||
original := os.Stdout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue