This commit is contained in:
parent
d5b5c131e7
commit
1d7e0dc701
@ -4,6 +4,7 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"strings"
|
"strings"
|
||||||
@ -135,7 +136,7 @@ func TestRequestIDHandler(t *testing.T) {
|
|||||||
|
|
||||||
err := json.Unmarshal([]byte(l), &out)
|
err := json.Unmarshal([]byte(l), &out)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", fmt.Errorf("failed to unmarshal log: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return out.UUID, nil
|
return out.UUID, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user