Skip to content

Commit

Permalink
Fix tests for GHC 9.x
Browse files Browse the repository at this point in the history
Putting spaces after `@` (`TypeApplication`) is no longer valid
since GHC 9.x
  • Loading branch information
unclechu committed Jul 27, 2022
1 parent 63070f1 commit c721390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Data/Diverse/ManySpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ spec = do

it "with duplicate fields has setter for unique fields 'amend''" $ do
let x = (5 :: Int) ./ False ./ 'X' ./ Just 'O' ./ (6 :: Int) ./ Just 'A' ./ nil
amend' @ '[Bool, Char] x (True ./ 'B' ./ nil) `shouldBe`
amend' @'[Bool, Char] x (True ./ 'B' ./ nil) `shouldBe`
(5 :: Int) ./ True ./ 'B' ./ Just 'O' ./ (6 :: Int) ./ Just 'A' ./ nil

it "can be folded with 'Many' handlers using 'forMany' or 'collect'" $ do
Expand Down

0 comments on commit c721390

Please sign in to comment.