1
0
Fork 0

Merge current v2.11 into v3.2

This commit is contained in:
romain 2025-01-03 14:36:40 +01:00
commit f62fc67418
6 changed files with 15 additions and 10 deletions

View file

@ -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