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

Function TestPutBetweenExpression

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

Source from the content-addressed store, hash-verified

37}
38
39func TestPutBetweenExpression(t *testing.T) {
40 be := GetBetweenExpression()
41 be.Expr = &Identifier{Name: "x"}
42 be.Lower = &LiteralValue{Value: "1"}
43 be.Upper = &LiteralValue{Value: "10"}
44 be.Not = true
45 PutBetweenExpression(be)
46 PutBetweenExpression(nil)
47}
48
49func TestPutInExpression(t *testing.T) {
50 ie := GetInExpression()

Callers

nothing calls this directly

Calls 2

GetBetweenExpressionFunction · 0.85
PutBetweenExpressionFunction · 0.85

Tested by

no test coverage detected