1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-01 22:09:21 +02:00

remove debug print in request_id_test.go

This commit is contained in:
Yusuke Komatsu 2017-02-10 16:38:45 +09:00
parent 1963e27070
commit 4dc9cd0bb6

View File

@ -5,7 +5,6 @@ import (
"net/http/httptest"
"testing"
"github.com/davecgh/go-spew/spew"
"github.com/labstack/echo"
uuid "github.com/satori/go.uuid"
"github.com/stretchr/testify/assert"
@ -24,7 +23,6 @@ func TestRequestID(t *testing.T) {
h(c)
if assert.NotEmpty(t, rec.Header().Get("X-Request-ID")) {
u, err := uuid.FromString(rec.Header().Get("X-Request-ID"))
spew.Dump(u)
assert.NoError(t, err)
assert.Equal(t, uint(4), u.Version())
assert.Equal(t, uint(uuid.VariantRFC4122), u.Variant())