Skip to content
Snippets Groups Projects
Commit b6550b55 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

hlints

parent dc26035a
No related branches found
No related tags found
1 merge request!1Simplistic implementation of download
......@@ -74,6 +74,6 @@ discoverShares ::
-- | The share numbers the server claims to have.
IO (Either DiscoverError [ShareNum])
discoverShares _storageIndex ann
| Nothing == storageServerAnnouncementFURL ann =
| isNothing $ storageServerAnnouncementFURL ann =
pure $ Left StorageServerLocationUnknown
| otherwise = pure $ Right []
......@@ -8,12 +8,10 @@ import Data.Word (Word16)
import System.IO (hSetEncoding, stderr, stdout, utf8)
import Tahoe.CHK.Capability (Reader (..), Verifier (..))
import Tahoe.CHK.Server (StorageServerAnnouncement (..))
import Tahoe.Download (DownloadError (..))
import Tahoe.Download (DownloadError (..), download)
import Test.Tasty (TestTree, defaultMain, testGroup)
import Test.Tasty.HUnit (assertEqual, testCase)
import Tahoe.Download (download)
tests :: TestTree
tests =
testGroup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment