Skip to content

Commit

Permalink
Change to all lists instead of NonEmpty lists for groupBy
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmartin authored and BebeSparkelSparkel committed Nov 28, 2024
1 parent 504912b commit ce0fcd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mono-traversable/test/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ main = hspec $ do
ocompareLength (replicate i () :: [()]) j @?= compare i j

describe "groupBy" $ do
let test name dummy = prop name $ \(QCM.NonEmpty xs) -> do
let test name dummy = prop name $ \xs -> do
let seq' = fromListAs xs dummy
let listDef f = Prelude.fmap fromList . List.groupBy f . otoList
groupBy (==) seq' @?= listDef (==) seq'
Expand Down

0 comments on commit ce0fcd1

Please sign in to comment.