Updates Context tests

This commit is contained in:
Manu Mtz-Almeida 2015-03-31 20:12:10 +02:00
parent 32d76614aa
commit c0e8cedc98
1 changed files with 2 additions and 2 deletions

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" {