Skip to content

Commit

Permalink
Fix small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavia Pezoti committed Jul 5, 2021
1 parent 148d50a commit 4155674
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/histories_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,5 @@ func HistoriesV2Handler(app *App) func(c echo.Context) error {
messages = append(messages, topicMessages...)
}
return c.JSON(http.StatusOK, messages)

return c.JSON(http.StatusOK, messages)
}
}
3 changes: 0 additions & 3 deletions app/history_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ func TestHistoryHandler(t *testing.T) {
var messages []models.Message
err = json.Unmarshal([]byte(body), &messages)
Expect(err).To(BeNil())
print("messages")

print(messages)

g.Assert(len(messages)).Equal(1)
g.Assert(messages[0].Payload).Equal("{\"test 0\":\"test 1\"}")
Expand Down

0 comments on commit 4155674

Please sign in to comment.