Skip to content

Commit

Permalink
Fix test build with GHC <= 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmar committed Dec 5, 2017
1 parent 53e316d commit c9bddda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-async.hs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async_cancelmany :: Assertion -- issue 59
async_cancelmany = do
r <- newIORef []
a <- async $ forConcurrently_ ['a'..'z'] $ \c ->
delay 2 `finally` atomicModifyIORef' r (\i -> (c:i,()))
delay 2 `finally` atomicModifyIORef r (\i -> (c:i,()))
delay 1
cancel a
v <- readIORef r
Expand Down

0 comments on commit c9bddda

Please sign in to comment.