mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-06 07:38:43 +00:00
20 lines
292 B
Go
20 lines
292 B
Go
package goblin
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestResolver(t *testing.T) {
|
|
g := Goblin(t)
|
|
|
|
g.Describe("Resolver", func() {
|
|
g.It("Should resolve the stack until the test", func() {
|
|
dummyFunc(g)
|
|
})
|
|
})
|
|
}
|
|
|
|
func dummyFunc(g *G) {
|
|
stack := ResolveStack(1)
|
|
g.Assert(len(stack)).Equal(3)
|
|
}
|