/usr/share/gocode/src/github.com/franela/goblin/resolver_test.go is in golang-github-franela-goblin-dev 0.0.1+git20160123.62.889391d-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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)
}
|