Updates Context tests

This commit is contained in:
Manu Mtz-Almeida 2015-03-31 20:12:10 +02:00
parent 32d76614aa
commit c0e8cedc98

View File

@ -47,8 +47,8 @@ func TestContextSetGet(t *testing.T) {
// Set
c.Set("foo", "bar")
v, err := c.Get("foo")
if err != nil {
v, ok := c.Get("foo")
if !ok {
t.Errorf("Error on exist key")
}
if v != "bar" {