From b745c1b21a64a3677b75777996c81154e916c0a5 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Wed, 26 Jul 2017 17:31:22 +0530 Subject: [PATCH] metainfotest: use the predicate shouldSatisfy to check for a condition --- test/MetainfoTests.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/MetainfoTests.hs b/test/MetainfoTests.hs index 824bb64..727de50 100644 --- a/test/MetainfoTests.hs +++ b/test/MetainfoTests.hs @@ -19,5 +19,5 @@ tests = hspec $ do case torrentToMetainfo fc of Left _ -> pending Right metainfo -> do - announceList metainfo `shouldNotBe` [] + announceList metainfo `shouldSatisfy` (not . null) -- 2.37.2