Skip to content

Commit 773d55a

Browse files
committed
lhs/rhs06 in Core has differences casts in GHC-9.14
1 parent 62b80ae commit 773d55a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

optics/tests/Optics/Tests/Core.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ coreTests = testGroup "Core"
4141
assertSuccess $(inspectTest $ hasNoProfunctors 'rhs05)
4242
, testCase "traverseOf_ (_Left % itraversed % _1 % ifolded) = traverseOf_ ..." $
4343
-- GHC >= 8.6 gives different structure of let bindings.
44-
ghc86to910and9122failure $(inspectTest $ 'lhs06 === 'rhs06)
44+
ghc86to910and9122failure $(inspectTest $ 'lhs06 ==~ 'rhs06)
4545
, testCase "optimized lhs06" $
4646
ghc9122failure $(inspectTest $ hasNoProfunctors 'lhs06)
4747
, testCase "optimized rhs06" $

0 commit comments

Comments
 (0)