MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / TestPutCastExpression

Function TestPutCastExpression

pkg/sql/ast/pool_coverage_test.go:79–85  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

77}
78
79func TestPutCastExpression(t *testing.T) {
80 ce := GetCastExpression()
81 ce.Expr = &Identifier{Name: "x"}
82 ce.Type = "INT"
83 PutCastExpression(ce)
84 PutCastExpression(nil)
85}
86
87func TestPutIntervalExpression(t *testing.T) {
88 ie := GetIntervalExpression()

Callers

nothing calls this directly

Calls 2

GetCastExpressionFunction · 0.85
PutCastExpressionFunction · 0.85

Tested by

no test coverage detected