From 7f112ddde2e90ee7163123d98f1617f6f6a453ef Mon Sep 17 00:00:00 2001 From: Gal Ofri Date: Sat, 20 Jan 2024 09:14:23 +0200 Subject: [PATCH] fix the testing to point to the local version --- github_ratelimit/github_ratelimit_test/go.mod | 3 +++ 1 file changed, 3 insertions(+) diff --git a/github_ratelimit/github_ratelimit_test/go.mod b/github_ratelimit/github_ratelimit_test/go.mod index 4f4ea9f..4bc712f 100644 --- a/github_ratelimit/github_ratelimit_test/go.mod +++ b/github_ratelimit/github_ratelimit_test/go.mod @@ -1,5 +1,8 @@ module github.com/gofri/go-github-ratelimit/github-ratelimit-test +// make sure to test the local version of the ratelimit package +replace github.com/gofri/go-github-ratelimit => ../.. + go 1.19 require (