Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
exceptions
Commits
8092993e
Commit
8092993e
authored
Jul 20, 2016
by
Ryan Scott
Browse files
Add test for Either
parent
d63e1de4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/Control/Monad/Catch/Tests.hs
View file @
8092993e
...
@@ -88,7 +88,8 @@ tests = testGroup "Control.Monad.Catch.Tests" $
...
@@ -88,7 +88,8 @@ tests = testGroup "Control.Monad.Catch.Tests" $
,
MSpec
"STM"
$
io
.
atomically
,
MSpec
"STM"
$
io
.
atomically
--, MSpec "ContT IO" $ \m -> io $ runContT m return
--, MSpec "ContT IO" $ \m -> io $ runContT m return
,
MSpec
"CatchT Indentity"
$
fromRight
.
runCatch
,
MSpec
"CatchT Identity"
$
fromRight
.
runCatch
,
MSpec
"Either SomeException"
fromRight
]
]
tfst
::
(
Property
,
()
)
->
Property
=
fst
tfst
::
(
Property
,
()
)
->
Property
=
fst
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment