You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/Test/Syd/Aeson.hs:50:23: error: [GHC-83865]
• Couldn't match expected type ‘Assertion’
with actual type ‘IO Assertion’
• In the first argument of ‘Context’, namely
‘(textsNotEqualButShouldHaveBeenEqual
(decodeUtf8 (LB.toStrict (encodePretty actual)))
(decodeUtf8 (LB.toStrict (encodePretty expected))))’
In the first argument of ‘Just’, namely
‘(Context
(textsNotEqualButShouldHaveBeenEqual
(decodeUtf8 (LB.toStrict (encodePretty actual)))
(decodeUtf8 (LB.toStrict (encodePretty expected))))
(goldenContext fp))’
In the expression:
Just
(Context
(textsNotEqualButShouldHaveBeenEqual
(decodeUtf8 (LB.toStrict (encodePretty actual)))
(decodeUtf8 (LB.toStrict (encodePretty expected))))
(goldenContext fp))
|
50 | ( textsNotEqualButShouldHaveBeenEqual
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
The text was updated successfully, but these errors were encountered:
src/Test/Syd/Hspec.hs:162:106: error: [GHC-88464]
Data constructor not in scope:
NotEqualButShouldHaveBeenEqual :: String -> String -> e0
Suggested fix:
Perhaps use one of these:
variable ‘mkNotEqualButShouldHaveBeenEqual’ (imported from Test.Syd),
variable ‘textsNotEqualButShouldHaveBeenEqual’ (imported from Test.Syd),
‘EqualButShouldNotHaveBeenEqual’ (imported from Test.Syd)
@NorfairKing sydtest-aeson 0.2.0.0 doesn't compile:
The text was updated successfully, but these errors were encountered: