Skip to content

Commit

Permalink
Updates Context tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Mar 31, 2015
1 parent 32d7661 commit c0e8ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit c0e8ced

Please sign in to comment.