mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-13 07:23:29 +00:00
some initial work on #1147 to enable Bitbucket with oauth2
This commit is contained in:
11
vendor/github.com/bugagazavr/go-gitlab-client/util_test.go
generated
vendored
Normal file
11
vendor/github.com/bugagazavr/go-gitlab-client/util_test.go
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
package gogitlab
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestParameterEncoding(t *testing.T) {
|
||||
assert.Equal(t, encodeParameter("namespace/project"), "namespace%2Fproject")
|
||||
assert.Equal(t, encodeParameter("14"), "14")
|
||||
}
|
||||
Reference in New Issue
Block a user