init - add project files
This commit is contained in:
16
tools/jet-2.12.0/internal/jet/clause_test.go
Normal file
16
tools/jet-2.12.0/internal/jet/clause_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package jet
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestClauseSelect_Serialize(t *testing.T) {
|
||||
defer func() {
|
||||
r := recover()
|
||||
require.Equal(t, r, "jet: SELECT clause has to have at least one projection")
|
||||
}()
|
||||
|
||||
selectClause := &ClauseSelect{}
|
||||
selectClause.Serialize(SelectStatementType, &SQLBuilder{})
|
||||
}
|
||||
Reference in New Issue
Block a user