Skip to content

Commit

Permalink
Fix hlint
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaov committed Oct 27, 2024
1 parent 70ef64c commit 4e22e5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/Streamly/Test/Parser/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ expectedResult moves inp = go 0 0 [] moves
inpLen = length inp

slice off len = Prelude.take len . Prelude.drop off
slice_ off = Prelude.drop off
slice_ = Prelude.drop

-- i = Index of inp head
-- j = Minimum index of inp head
Expand Down Expand Up @@ -105,7 +105,7 @@ expectedResultMany moves inp =

createPaths :: [a] -> [[a]]
createPaths xs =
Prelude.map (flip Prelude.take xs) [1..length xs]
Prelude.map (`Prelude.take` xs) [1..length xs]

parserSanityTests :: String -> ([Move] -> SpecWith ()) -> SpecWith ()
parserSanityTests desc testRunner =
Expand Down

0 comments on commit 4e22e5a

Please sign in to comment.