1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-17 17:45:03 +02:00
woodpecker/vendor/github.com/Bugagazavr/go-gitlab-client/util_test.go
2015-09-29 17:34:44 -07:00

12 lines
293 B
Go

package gogitlab
import (
"github.com/drone/drone/Godeps/_workspace/src/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")
}