(t *testing.T, colLeft, colRight *rel.Column)
| 109 | } |
| 110 | |
| 111 | func compareAstColumn(t *testing.T, colLeft, colRight *rel.Column) { |
| 112 | assert.True(t, colLeft.As == colRight.As, "As: '%v' != '%v'", colLeft.As, colRight.As) |
| 113 | assert.True(t, colLeft.Comment == colRight.Comment, "Comments? '%s' '%s'", colLeft.Comment, colRight.Comment) |
| 114 | compareNode(t, colLeft.Guard, colRight.Guard) |
| 115 | compareNode(t, colLeft.Expr, colRight.Expr) |
| 116 | } |
| 117 | |
| 118 | func compareAst(t *testing.T, in1, in2 rel.SqlStatement) { |
| 119 | switch s1 := in1.(type) { |
no test coverage detected