(t *testing.T, fl, fr *rel.SqlSource)
| 100 | } |
| 101 | |
| 102 | func compareFrom(t *testing.T, fl, fr *rel.SqlSource) { |
| 103 | assert.True(t, fl.Name == fr.Name) |
| 104 | assert.Equal(t, fl.Op, fr.Op) |
| 105 | assert.Equal(t, fl.Alias, fr.Alias) |
| 106 | assert.Equal(t, fl.LeftOrRight, fr.LeftOrRight) |
| 107 | assert.Equal(t, fl.JoinType, fr.JoinType) |
| 108 | compareNode(t, fl.JoinExpr, fr.JoinExpr) |
| 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) |
no test coverage detected