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

Function TestPutInExpression

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

Source from the content-addressed store, hash-verified

47}
48
49func TestPutInExpression(t *testing.T) {
50 ie := GetInExpression()
51 ie.Expr = &Identifier{Name: "x"}
52 ie.List = append(ie.List, &LiteralValue{Value: "1"}, &LiteralValue{Value: "2"})
53 ie.Not = true
54 PutInExpression(ie)
55 PutInExpression(nil)
56}
57
58func TestPutTupleExpression(t *testing.T) {
59 te := GetTupleExpression()

Callers

nothing calls this directly

Calls 2

GetInExpressionFunction · 0.85
PutInExpressionFunction · 0.85

Tested by

no test coverage detected