summaryrefslogtreecommitdiffhomepage
path: root/Tests.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-30 19:56:20 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-30 19:56:20 -0400
commit83f81b23a99ae64586737dec947e0bffc475393b (patch)
tree488ccfa62c0f974f69e86ce12c7ee7a6af4d2006 /Tests.hs
parent974e216f01e655a4e310627a9d26e8843225958c (diff)
downloadkeysafe-83f81b23a99ae64586737dec947e0bffc475393b.tar.gz
fix build
Diffstat (limited to 'Tests.hs')
-rw-r--r--Tests.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests.hs b/Tests.hs
index c0d1f56..d18628e 100644
--- a/Tests.hs
+++ b/Tests.hs
@@ -20,6 +20,7 @@ import System.IO
import qualified Data.ByteString.UTF8 as BU8
import qualified Data.ByteString as B
import qualified Data.Set as S
+import Data.Monoid
type TestDesc = B.ByteString
@@ -81,7 +82,7 @@ withTestStorageLocations a = bracket setup cleanup go
-- | Test of backup and restore of a SecretKey.
backupRestoreTest :: TestDesc -> SecretKey -> Test
backupRestoreTest testdesc secretkey =
- ("backup and restore (" ++ testdesc ++ ")", runtest)
+ ("backup and restore (" <> testdesc <> ")", runtest)
where
runtest = withTestStorageLocations $ \storagelocations -> do
backup storagelocations