Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Added support for repository server hook and improved tests #146

Merged
merged 1 commit into from
Aug 4, 2014

Conversation

rfloriano
Copy link
Contributor

No description provided.

func (s *S) TestAddPostReceiveHook(c *gocheck.C) {
b := strings.NewReader("some content")
b := strings.NewReader(fmt.Sprintf(`{"content": "some content"}`))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to use fmt.Sprintf here. Just {"content": "some content"} should works.

andrewsmedina added a commit that referenced this pull request Aug 4, 2014
Added support for repository server hook and improved tests
@andrewsmedina andrewsmedina merged commit ca97e83 into tsuru:master Aug 4, 2014
@andrewsmedina
Copy link
Contributor

@rfloriano thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants