Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update monkey module path #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blocker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"aahframework.org/test.v0/assert"
"github.com/bouk/monkey"
"bou.ke/monkey"
)

func Test_it_block_as_expected(t *testing.T) {
Expand Down
8 changes: 8 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module ratelimit

go 1.22

require (
aahframework.org/test.v0 v0.0.0-20170303192812-d14ae1dc852d
bou.ke/monkey v1.0.2
)
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
aahframework.org/test.v0 v0.0.0-20170303192812-d14ae1dc852d h1:xrk269ZdyicxrmDDwLkjpWxzBeApYPKmGlAXtXylB0k=
aahframework.org/test.v0 v0.0.0-20170303192812-d14ae1dc852d/go.mod h1:Dc0WOMD7SnuzGgAI29bLYayM5XoDr+Iha/jfObqPwhA=
bou.ke/monkey v1.0.2 h1:kWcnsrCNUatbxncxR/ThdYqbytgOIArtYWqcQLQzKLI=
bou.ke/monkey v1.0.2/go.mod h1:OqickVX3tNx6t33n1xvtTtu85YN5s6cKwVug+oHMaIA=
2 changes: 1 addition & 1 deletion rate_limit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

"aahframework.org/test.v0/assert"
"github.com/bouk/monkey"
"bou.ke/monkey"
)

func Test_IT_PANIC_WHEN_INVALID_NEW_RATE_PATTERN(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion spammer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"aahframework.org/test.v0/assert"
"github.com/bouk/monkey"
"bou.ke/monkey"
)

func Test_it_count_spam_as_expected(t *testing.T) {
Expand Down