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 // Set
c.Set("foo", "bar") c.Set("foo", "bar")
v, err := c.Get("foo") v, ok := c.Get("foo")
if err != nil { if !ok {
t.Errorf("Error on exist key") t.Errorf("Error on exist key")
} }
if v != "bar" { if v != "bar" {