Skip to content

Commit

Permalink
test: remove verbose unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tr1v3r committed Dec 23, 2023
1 parent 49d6a5c commit 16a35f1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions field/export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,10 @@ func TestExpr_Build(t *testing.T) {
Expr: field.ALL.Distinct().Count(),
Result: "COUNT(DISTINCT *)",
},
{
Expr: field.NewAsterisk("user").Count(),
Result: "COUNT(`user`.*)",
},
{
Expr: field.ALL.Count().As("num"),
Result: "COUNT(*) AS `num`",
},
{
Expr: field.NewAsterisk("user").Distinct().Count(),
Result: "COUNT(DISTINCT `user`.*)",
},
// ======================== integer ========================
{
Expr: field.NewUint("", "id"),
Expand Down

0 comments on commit 16a35f1

Please sign in to comment.