File: resolver_test.go

package info (click to toggle)
golang-github-franela-goblin 0.0.1%2Bgit20160123.62.889391d-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 176 kB
  • sloc: makefile: 7
file content (20 lines) | stat: -rw-r--r-- 292 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)
}