switched from lens package to microlens

This commit is contained in:
2021-01-05 21:22:41 -05:00
parent c5cdde8f73
commit 807e09a5ae
11 changed files with 16 additions and 11 deletions

View File

@@ -22,7 +22,7 @@ License along with this program. If not, see
module Spec.NewPWData (tests) where
import Control.Lens ((^.))
import Lens.Micro ((^.))
import System.Random (mkStdGen, StdGen)
import Test.HUnit (Test (..), (~?=))

View File

@@ -22,7 +22,7 @@ License along with this program. If not, see
module Spec.NewPWPolicy (tests) where
import Control.Lens ((^.))
import Lens.Micro ((^.))
import Test.HUnit (Test(..), (~?=))
import Password

View File

@@ -22,8 +22,8 @@ License along with this program. If not, see
module Spec.PWGenerate (tests) where
import Control.Lens (set, (^.))
import Data.Maybe (fromJust)
import Lens.Micro (set, (^.))
import System.Random (mkStdGen, StdGen)
import Test.HUnit
(Test (..)

View File

@@ -22,8 +22,8 @@ License along with this program. If not, see
module Spec.ValidatePWData (tests) where
import Control.Lens (set)
import qualified Data.ByteString.Lazy as B
import Lens.Micro (set)
import System.Random (mkStdGen, StdGen)
import Test.HUnit (Test (..), (~?=))

View File

@@ -22,8 +22,8 @@ License along with this program. If not, see
module Spec.ValidatePWDatabase (tests) where
import Control.Lens (set)
import qualified Data.Map as M
import Lens.Micro (set)
import System.Random (mkStdGen, StdGen)
import Test.HUnit (Test (..), (~?=))

View File

@@ -22,7 +22,7 @@ License along with this program. If not, see
module Spec.ValidatePWPolicy (tests) where
import Control.Lens (set)
import Lens.Micro (set)
import Test.HUnit (Test(..), (~?=))
import Password