Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ocharles committed Apr 11, 2021
1 parent 4b420e8 commit 7bb4246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -694,8 +694,8 @@ testSelectArray = databasePropertyTest "Can SELECT Arrays (with aggregation)" \t
rows <- forAll $ Gen.list (Range.linear 1 10) Gen.bool

transaction \connection -> do
selected <- liftIO $ Rel8.select connection $ Rel8.aggregate do
Rel8.listAgg <$> Rel8.values (map Rel8.lit rows)
selected <- liftIO $ Rel8.select connection $ Rel8.aggregate (Rel8.listAgg id) do
Rel8.values (map Rel8.lit rows)

selected === [foldMap pure rows]

Expand Down

0 comments on commit 7bb4246

Please sign in to comment.