mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
21 lines
292 B
Go
21 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)
|
|
}
|