mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-25 01:40:30 +00:00
18 lines
279 B
Go
18 lines
279 B
Go
package coding
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/franela/goblin"
|
|
)
|
|
|
|
func Test_util(t *testing.T) {
|
|
|
|
g := goblin.Goblin(t)
|
|
g.Describe("Coding util", func() {
|
|
|
|
g.It("Should form project full name", func() {
|
|
g.Assert(projectFullName("gk", "prj")).Equal("gk/prj")
|
|
})
|
|
})
|
|
}
|