Skip to content

Commit

Permalink
Add 'github.com/bouk/monkey' library for enabling 'os.Exit()' mocking…
Browse files Browse the repository at this point in the history
… in tests
  • Loading branch information
lorenzo-biava committed Mar 5, 2018
1 parent d4ff594 commit c1f38e2
Show file tree
Hide file tree
Showing 15 changed files with 567 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,7 @@
[[constraint]]
branch = "v2"
name = "gopkg.in/yaml.v2"

[[constraint]]
name = "github.com/bouk/monkey"
revision = "5df1f207ff77e025801505ae4d903133a0b4353f"
3 changes: 3 additions & 0 deletions vendor/github.com/bouk/monkey/LICENSE.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

112 changes: 112 additions & 0 deletions vendor/github.com/bouk/monkey/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/github.com/bouk/monkey/circle.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions vendor/github.com/bouk/monkey/examples/bleep.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions vendor/github.com/bouk/monkey/examples/instance_example.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions vendor/github.com/bouk/monkey/examples/no_http.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

133 changes: 133 additions & 0 deletions vendor/github.com/bouk/monkey/monkey.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions vendor/github.com/bouk/monkey/monkey_386.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions vendor/github.com/bouk/monkey/monkey_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c1f38e2

Please sign in to comment.