mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-29 21:31:02 +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")
|
|
})
|
|
})
|
|
}
|