This commit is contained in:
Shreyas Goenka 2024-10-31 11:18:39 +01:00
parent 9302520ce5
commit bbc2632474
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import (
func TestWithCommandExecIdInUserAgent(t *testing.T) {
ctx := withCommandExecIdInUserAgent(context.Background())
// Check that the command trace ID is in the user agent string.
// Check that the command exec ID is in the user agent string.
ua := useragent.FromContext(ctx)
re := regexp.MustCompile(`cmd-exec-id/([a-f0-9-]+)`)
matches := re.FindAllStringSubmatch(ua, -1)