From 5fa35d9d49572a8276cb044a6aa7d9a83308d9be Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 8 Feb 2023 10:20:45 +0100 Subject: refactor(tvix/nix-compat/nixhash): fix test function name Change-Id: I3b089758ce8c01df544064422e56a97a8402513d Reviewed-on: https://cl.tvl.fyi/c/depot/+/8036 Tested-by: BuildkiteCI Reviewed-by: Alyssa Ross --- tvix/nix-compat/src/nixhash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix/nix-compat/src') 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"); } } -- cgit 1.4.1