Add a test case exhibiting #139

This commit is contained in:
Michael Walker 2017-10-21 19:03:37 +01:00
parent 060e18acc5
commit 5838a921b7

View File

@ -49,4 +49,10 @@ tests =
catchSomeException
(uninterruptibleMask_ (throw ThreadKilled))
(\_ -> myThreadId >>= killThread)
, djfu "https://github.com/barrucadu/dejafu/issues/139" (failing $ gives' [()]) $
catchSomeException
(catchSomeException (throw ThreadKilled) (\_ -> pure ())
>> throw ThreadKilled)
(\_ -> pure ())
]