(t *testing.T)
| 19 | ) |
| 20 | |
| 21 | func TestPutFunctionCall(t *testing.T) { |
| 22 | fc := GetFunctionCall() |
| 23 | fc.Name = "count" |
| 24 | fc.Arguments = append(fc.Arguments, &Identifier{Name: "x"}) |
| 25 | fc.Distinct = true |
| 26 | PutFunctionCall(fc) |
| 27 | PutFunctionCall(nil) // nil safety |
| 28 | } |
| 29 | |
| 30 | func TestPutCaseExpression(t *testing.T) { |
| 31 | ce := GetCaseExpression() |
nothing calls this directly
no test coverage detected