diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-30 19:56:20 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-30 19:56:20 -0400 |
commit | 83f81b23a99ae64586737dec947e0bffc475393b (patch) | |
tree | 488ccfa62c0f974f69e86ce12c7ee7a6af4d2006 /Tests.hs | |
parent | 974e216f01e655a4e310627a9d26e8843225958c (diff) | |
download | keysafe-83f81b23a99ae64586737dec947e0bffc475393b.tar.gz |
fix build
Diffstat (limited to 'Tests.hs')
-rw-r--r-- | Tests.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |