Created
December 10, 2014 18:38
-
-
Save partkyle/1bb851720f75c066dcd5 to your computer and use it in GitHub Desktop.
GoSublime Completion Bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main_test | |
import ( | |
"fmt" | |
"testing" | |
) | |
import . "github.com/onsi/ginkgo" | |
type Value struct { | |
A int | |
B Element | |
} | |
type Element struct { | |
E int | |
} | |
func (e *Element) PrintE() { | |
fmt.Println(e.E) | |
} | |
func TestInternalFunction(t *testing.T) { | |
var _ = Describe("testing this", func() { | |
var ( | |
v Value | |
) | |
BeforeEach(func() { | |
v = Value{} | |
}) | |
It("Should Run", func() { | |
v.B.PrintE() | |
}) | |
It("should panic", func() { | |
}) | |
}) | |
} | |
var _ = Describe("testing this", func() { | |
var ( | |
v Value | |
) | |
BeforeEach(func() { | |
v = Value{} | |
}) | |
It("Should Run", func() { | |
v.B.PrintE() | |
}) | |
It("should panic", func() { | |
}) | |
}) | |
func TestThis(t *testing.T) { | |
RunSpecs(t, "cuz") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment