integration/_fixtures/symbol_fixture/symbol_fixture_suite_test.go
raw| 1 | package symbol_fixture_test |
| 2 | |
| 3 | import ( |
| 4 | "fmt" |
| 5 | "os/exec" |
| 6 | "testing" |
| 7 | |
| 8 | . "github.com/onsi/ginkgo/v2" |
| 9 | . "github.com/onsi/gomega" |
| 10 | ) |
| 11 | |
| 12 | func TestSymbolFixture(t *testing.T) { |
| 13 | RegisterFailHandler(Fail) |
| 14 | RunSpecs(t, "SymbolFixture Suite") |
| 15 | } |
| 16 | |
| 17 | var _ = It("prints out its symbols", func() { |
| 18 | cmd := exec.Command("go", "tool", "nm", "symbol_fixture.test") |
| 19 | output, _ := cmd.CombinedOutput() |
| 20 | fmt.Println(string(output)) |
| 21 | }) |