1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package leveldb import ( "testing" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "github.com/syndtr/goleveldb/leveldb/testutil" ) func TestLeveldb(t *testing.T) { testutil.RunDefer() RegisterFailHandler(Fail) RunSpecs(t, "Leveldb Suite") RegisterTestingT(t) testutil.RunDefer("teardown") }