(t *testing.T)
| 28 | } |
| 29 | |
| 30 | func TestPutCaseExpression(t *testing.T) { |
| 31 | ce := GetCaseExpression() |
| 32 | ce.Value = &Identifier{Name: "x"} |
| 33 | ce.WhenClauses = append(ce.WhenClauses, WhenClause{Condition: &Identifier{Name: "1"}, Result: &Identifier{Name: "a"}}) |
| 34 | ce.ElseClause = &Identifier{Name: "b"} |
| 35 | PutCaseExpression(ce) |
| 36 | PutCaseExpression(nil) |
| 37 | } |
| 38 | |
| 39 | func TestPutBetweenExpression(t *testing.T) { |
| 40 | be := GetBetweenExpression() |
nothing calls this directly
no test coverage detected