diff options
author | Tamal Saha <tamal@appscode.com> | 2019-08-23 09:40:30 -0700 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-08-23 12:40:29 -0400 |
commit | 171b3598778a1ecd0a921c71ed6755bfef68f7f0 (patch) | |
tree | 02857629ef9e8e26ee0ee559153f803f77b588b7 /modules/validation | |
parent | ca6fb004ac50fc924861112403895d637c6a2d1d (diff) | |
download | gitea-171b3598778a1ecd0a921c71ed6755bfef68f7f0.tar.gz gitea-171b3598778a1ecd0a921c71ed6755bfef68f7f0.zip |
Use gitea forked macaron (#7933)
Signed-off-by: Tamal Saha <tamal@appscode.com>
Diffstat (limited to 'modules/validation')
-rw-r--r-- | modules/validation/binding.go | 2 | ||||
-rw-r--r-- | modules/validation/binding_test.go | 4 | ||||
-rw-r--r-- | modules/validation/helpers_test.go | 4 | ||||
-rw-r--r-- | modules/validation/refname_test.go | 2 | ||||
-rw-r--r-- | modules/validation/validurl_test.go | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/modules/validation/binding.go b/modules/validation/binding.go index 03b6f6276d..fc420e62fb 100644 --- a/modules/validation/binding.go +++ b/modules/validation/binding.go @@ -9,7 +9,7 @@ import ( "regexp" "strings" - "github.com/go-macaron/binding" + "gitea.com/macaron/binding" ) const ( diff --git a/modules/validation/binding_test.go b/modules/validation/binding_test.go index de964a5488..5ac88c9317 100644 --- a/modules/validation/binding_test.go +++ b/modules/validation/binding_test.go @@ -9,9 +9,9 @@ import ( "net/http/httptest" "testing" - "github.com/go-macaron/binding" + "gitea.com/macaron/binding" + "gitea.com/macaron/macaron" "github.com/stretchr/testify/assert" - "gopkg.in/macaron.v1" ) const ( diff --git a/modules/validation/helpers_test.go b/modules/validation/helpers_test.go index 9051ee1a0d..cc2a4b720d 100644 --- a/modules/validation/helpers_test.go +++ b/modules/validation/helpers_test.go @@ -7,9 +7,9 @@ package validation import ( "testing" - "github.com/stretchr/testify/assert" - "code.gitea.io/gitea/modules/setting" + + "github.com/stretchr/testify/assert" ) func Test_IsValidURL(t *testing.T) { diff --git a/modules/validation/refname_test.go b/modules/validation/refname_test.go index 57e3f1bf8e..521a83fa04 100644 --- a/modules/validation/refname_test.go +++ b/modules/validation/refname_test.go @@ -7,7 +7,7 @@ package validation import ( "testing" - "github.com/go-macaron/binding" + "gitea.com/macaron/binding" ) var gitRefNameValidationTestCases = []validationTestCase{ diff --git a/modules/validation/validurl_test.go b/modules/validation/validurl_test.go index ba4d7d53d9..aed7406c0a 100644 --- a/modules/validation/validurl_test.go +++ b/modules/validation/validurl_test.go @@ -7,7 +7,7 @@ package validation import ( "testing" - "github.com/go-macaron/binding" + "gitea.com/macaron/binding" ) var urlValidationTestCases = []validationTestCase{ |