1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +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 committed by Vishal Rana
parent 92b197d4b7
commit f82701ebe9

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())