We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
builtins.placeholder "foo"
1 parent 0fe7ff5 commit 9bbe54aCopy full SHA for 9bbe54a
hnix-store-core/tests/Hash.hs
@@ -31,6 +31,10 @@ spec_hash = do
31
32
describe "hashing parity with nix-store" $ do
33
34
+ it "produces (base32 . sha256) of \"nix-output:foo\" the same as Nix does at the moment for placeholder \"foo\"" $
35
+ shouldBe (printAsBase32 (hash @SHA256 "nix-output:foo"))
36
+ "1x0ymrsy7yr7i9wdsqy9khmzc1yy7nvxw6rdp72yzn50285s67j5"
37
+
38
it "produces (base32 . sha1) of \"Hello World\" the same as the thesis" $
39
shouldBe (printAsBase32 (hash @SHA1 "Hello World"))
40
"s23c9fs0v32pf6bhmcph5rbqsyl5ak8a"
0 commit comments