mirror of
https://github.com/ilyakooo0/docker-hs.git
synced 2024-09-11 10:35:29 +03:00
Fix partial pattern match in test
https://gitlab.haskell.org/ghc/ghc/wikis/migration/8.6#monadfaildesugaring-by-default
This commit is contained in:
parent
54d92edfc2
commit
bc65660947
@ -76,7 +76,7 @@ testFindImage =
|
||||
|
||||
testDeleteImage :: IO ()
|
||||
testDeleteImage = runDocker $ do
|
||||
(Just img) <- findTestImage
|
||||
img <- fmap fromJust findTestImage
|
||||
result <- deleteImage defaultImageDeleteOpts (imageId img)
|
||||
lift $ assert $ isRight result
|
||||
maybeTestImageAfter <- findTestImage
|
||||
|
Loading…
Reference in New Issue
Block a user