some initial work on #1147 to enable Bitbucket with oauth2

This commit is contained in:
Brad Rydzewski
2015-10-03 21:50:11 -07:00
parent e5065da888
commit 75cca2807d
47 changed files with 4205 additions and 0 deletions

View 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")
}