Separate deadline append for wsl cuddling

require.True cannot sit directly above the deadlines append
under wsl_v5.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
Cursor Agent
2026-07-24 20:57:51 +00:00
committed by Bryan Frimin
parent f844933b7d
commit b8c3fb086e

View File

@@ -503,6 +503,7 @@ func TestCheckCAA(t *testing.T) {
exchange: func(ctx context.Context, msg *dns.Msg, _ string) (*dns.Msg, error) {
deadline, ok := ctx.Deadline()
require.True(t, ok)
deadlines = append(deadlines, deadline)
name := msg.Question[0].Header().Name