Skip to content

Commit

Permalink
fix spelling mistakes (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
batmany13 committed Aug 29, 2017
1 parent 7c3ccc3 commit 8fa6649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -142,7 +142,7 @@ func details(c *gin.Context) {
err := a.Call()
if err != nil {
c.JSON(400, gin.H{
"message": "failled to make api call : " + err.Error(),
"message": "failed to make api call : " + err.Error(),
})
return

Expand Down
2 changes: 1 addition & 1 deletion main_test.go
Expand Up @@ -141,7 +141,7 @@ func TestDetails(t *testing.T) {
reqs, vals := test_helper.GetReqs()
assert.Len(reqs, 1)
assert.Len(vals, 1)
assert.Equal("failled to make api call : Invalid uuid. Example: '1c0e3ea4529011e6991554a050defa20'.", resp["message"])
assert.Equal("failed to make api call : Invalid uuid. Example: '1c0e3ea4529011e6991554a050defa20'.", resp["message"])
})
sApi.Key = key
type Resp struct {
Expand Down

0 comments on commit 8fa6649

Please sign in to comment.