Skip to content

Commit 16a35f1

Browse files
author
tr1v3r
committed
test: remove verbose unit test
1 parent 49d6a5c commit 16a35f1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

field/export_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,10 @@ func TestExpr_Build(t *testing.T) {
133133
Expr: field.ALL.Distinct().Count(),
134134
Result: "COUNT(DISTINCT *)",
135135
},
136-
{
137-
Expr: field.NewAsterisk("user").Count(),
138-
Result: "COUNT(`user`.*)",
139-
},
140136
{
141137
Expr: field.ALL.Count().As("num"),
142138
Result: "COUNT(*) AS `num`",
143139
},
144-
{
145-
Expr: field.NewAsterisk("user").Distinct().Count(),
146-
Result: "COUNT(DISTINCT `user`.*)",
147-
},
148140
// ======================== integer ========================
149141
{
150142
Expr: field.NewUint("", "id"),

0 commit comments

Comments
 (0)