Skip to content

Commit 8dd4805

Browse files
committed
Hash test: Depend on new StorePath module.
1 parent 194261b commit 8dd4805

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hnix-store-core/tests/Hash.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import Test.Tasty.QuickCheck
2323
import Text.Read (readMaybe)
2424

2525
import System.Nix.Hash
26-
import System.Nix.Path
26+
import System.Nix.StorePath
2727
import NarFormat -- TODO: Move the fixtures into a common module
2828

2929
spec_hash :: Spec
@@ -45,5 +45,5 @@ spec_hash = do
4545
let exampleStr =
4646
"source:sha256:2bfef67de873c54551d884fdab3055d84d573e654efa79db3"
4747
<> "c0d7b98883f9ee3:/nix/store:myfile"
48-
shouldBe (encodeBase32 @PathHashAlgo (hash exampleStr))
48+
shouldBe (encodeBase32 @StorePathHashAlgo (hash exampleStr))
4949
"xv2iccirbrvklck36f1g7vldn5v58vck"

0 commit comments

Comments
 (0)