From 0260f665dc466ae2e85faa1978f2b935d59aafbc Mon Sep 17 00:00:00 2001 From: Jonathan Lamothe Date: Thu, 20 Dec 2018 22:21:36 -0500 Subject: [PATCH] explicitly use lazy ByteStrings --- src/Password.hs | 2 +- test/Spec/NewPWSalt.hs | 2 +- test/Spec/ValidatePWData.hs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Password.hs b/src/Password.hs index 72af171..026c6ff 100644 --- a/src/Password.hs +++ b/src/Password.hs @@ -46,7 +46,7 @@ module Password ( import Control.Lens (makeLenses, over, set, (^.)) import Data.Char (isUpper, isLower, isDigit, isAlphaNum) -import qualified Data.ByteString as B +import qualified Data.ByteString.Lazy as B import qualified Data.Map as M import Data.Maybe (fromMaybe) import System.Random (RandomGen, randoms, split) diff --git a/test/Spec/NewPWSalt.hs b/test/Spec/NewPWSalt.hs index 1785ab3..b4718c2 100644 --- a/test/Spec/NewPWSalt.hs +++ b/test/Spec/NewPWSalt.hs @@ -22,7 +22,7 @@ License along with this program. If not, see module Spec.NewPWSalt (tests) where -import qualified Data.ByteString as B +import qualified Data.ByteString.Lazy as B import System.Random (mkStdGen) import Test.HUnit (Test(..), assertBool, (~?=)) diff --git a/test/Spec/ValidatePWData.hs b/test/Spec/ValidatePWData.hs index a505396..22afe01 100644 --- a/test/Spec/ValidatePWData.hs +++ b/test/Spec/ValidatePWData.hs @@ -23,7 +23,7 @@ License along with this program. If not, see module Spec.ValidatePWData (tests) where import Control.Lens (set) -import qualified Data.ByteString as B +import qualified Data.ByteString.Lazy as B import System.Random (mkStdGen) import Test.HUnit (Test (..), (~?=))