Created
January 13, 2015 17:42
-
-
Save glyn/33fd0e9759d047002008 to your computer and use it in GitHub Desktop.
Ginkgo cgo test
This file contains 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 cgo_ginkgo_test | |
import ( | |
. "github.com/onsi/ginkgo" | |
. "github.com/onsi/gomega" | |
"testing" | |
) | |
func TestCgoGinkgo(t *testing.T) { | |
RegisterFailHandler(Fail) | |
RunSpecs(t, "CgoGinkgo Suite") | |
} |
This file contains 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 cgo_ginkgo_test | |
import ( | |
. "github.com/onsi/ginkgo" | |
) | |
var _ = Describe("Cgo", func() { | |
}) |
This file contains 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 cgo_ginkgo |
This file contains 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 cgo_ginkgo_test | |
// #include <stdio.h> | |
import "C" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment