From f9e178b0e83a2ef8d7820e8f027bf9ec6e0e5dca Mon Sep 17 00:00:00 2001 From: go-jet Date: Thu, 8 Aug 2019 17:55:07 +0200 Subject: [PATCH] Test fix. --- .circleci/config.yml | 2 +- mysql/expressions.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e4b7a9..4df78f0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -86,7 +86,7 @@ jobs: - run: mkdir -p $TEST_RESULTS - - run: go test -v ./... -coverpkg=github.com/go-jet/jet/postgres/...,github.com/go-jet/jet/mysql/...,github.com/go-jet/jet/execution/...,github.com/go-jet/jet/generator/...,github.com/go-jet/jet/internal/... -coverprofile=cover.out 2>&1 | go-junit-report > $TEST_RESULTS/results.xml + - run: go test -v ./... -coverpkg=github.com/go-jet/jet/postgres/...,github.com/go-jet/jet/mysql/...,github.com/go-jet/jet/execution/...,github.com/go-jet/jet/generator/...,github.com/go-jet/jet/internal/... -coverprofile=cover.out #2>&1 | go-junit-report > $TEST_RESULTS/results.xml - run: name: Upload code coverage diff --git a/mysql/expressions.go b/mysql/expressions.go index d91ccaf..2ff56b8 100644 --- a/mysql/expressions.go +++ b/mysql/expressions.go @@ -30,3 +30,5 @@ var DateTimeExp = jet.TimestampExp var TimestampExp = jet.TimestampExp var Raw = jet.Raw + +var NewEnumValue = jet.NewEnumValue