Skip to content

Commit f04d885

Browse files
committed
Register spec outside integration build tag
1 parent 8cb6220 commit f04d885

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

db/query_generators_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
. "github.com/onsi/gomega"
77
"github.com/riptano/data-endpoints/types"
88
"github.com/stretchr/testify/mock"
9+
"testing"
910
)
1011

1112
var _ = Describe("db", func() {
@@ -249,3 +250,8 @@ var _ = Describe("db", func() {
249250
}
250251
})
251252
})
253+
254+
func TestTypeMapping(t *testing.T) {
255+
RegisterFailHandler(Fail)
256+
RunSpecs(t, "Db test suite")
257+
}

db/type_mapping_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
"math/big"
1313
"reflect"
1414
"strings"
15-
"testing"
1615
"time"
1716
)
1817

@@ -198,8 +197,3 @@ func assertNilPointer(expectedType interface{}, actual interface{}) {
198197
assert.IsType(GinkgoT(), expectedType, actual)
199198
assert.Nil(GinkgoT(), actual)
200199
}
201-
202-
func TestTypeMapping(t *testing.T) {
203-
RegisterFailHandler(Fail)
204-
RunSpecs(t, "Type mapping suite")
205-
}

0 commit comments

Comments
 (0)