Created
January 4, 2015 23:19
-
-
Save seanparsons/5c1326d0e5a1721c9e8a to your computer and use it in GitHub Desktop.
Baffling doctest error.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sean@Tower:~/workspace/rwst-wiring$ .cabal-sandbox/bin/doctest -isrc Control.Monad.Trans.Reader.Wiring | |
### Failure in src/Control/Monad/Trans/Reader/Wiring.hs:17: expression `:{ | |
let composedResult = do | |
result1 <- promoteReader $ request1 "1" | |
result2 <- promoteReader $ request2 "2" | |
return [result1, result2] :: ReaderT (Database1, Database2) IO [String] | |
:}' | |
expected: >>> runReaderT composedResult (Database1, Database2) | |
["User1", "User2"] | |
but got: | |
Examples: 6 Tried: 6 Errors: 0 Failures: 1 | |
sean@Tower:~/workspace/rwst-wiring$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment