diff options
author | Florian Klink <flokli@flokli.de> | 2023-02-08T09·20+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-02-08T10·39+0000 |
commit | 5fa35d9d49572a8276cb044a6aa7d9a83308d9be (patch) | |
tree | 0f4c2a6b42b0e47d5dc7b10fafc31d4cb016a333 /tvix/nix-compat/src/nixhash.rs | |
parent | 5da1f4161ce7c64b35b2d7c72f04dc1a830034c6 (diff) |
refactor(tvix/nix-compat/nixhash): fix test function name r/5842
Change-Id: I3b089758ce8c01df544064422e56a97a8402513d Reviewed-on: https://cl.tvl.fyi/c/depot/+/8036 Tested-by: BuildkiteCI Reviewed-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'tvix/nix-compat/src/nixhash.rs')
-rw-r--r-- | tvix/nix-compat/src/nixhash.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nixhash.rs b/tvix/nix-compat/src/nixhash.rs index a1886039b07e..7fe657d76240 100644 --- a/tvix/nix-compat/src/nixhash.rs +++ b/tvix/nix-compat/src/nixhash.rs @@ -352,7 +352,7 @@ mod tests { /// Ensure we reject SRI strings with multiple hashes, as Nix doesn't support that. #[test] - fn from_stri_str_unsupported_multiple() { + fn from_sri_str_unsupported_multiple() { nixhash::from_sri_str("sha256-ngth6szLtC1IJIYyz3lhftzL8SkrJkqPyPve+dGqa1Y= sha512-q0DQvjVB8HdLungV0T0QsDJS6W6V99u07pmjtDHCFmL9aXGgIBYOOYSKpfMFub4PeHJ7KweJ458STSHpK4857w==").expect_err("must fail"); } } |