diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-27 10:43:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 10:43:16 -0500 |
commit | f5840bdcd360ec0bac2501f333e58e25742b1537 (patch) | |
tree | 7eb0818d2cafa0f6824e81b6ed2cfb609830971e /cli/npm/tarball.rs | |
parent | 1a1faff2f67613ed0b89e1a34e6c3fd02ca6fd83 (diff) |
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/npm/tarball.rs')
-rw-r--r-- | cli/npm/tarball.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/npm/tarball.rs b/cli/npm/tarball.rs index 7fce69cda..758ac3ded 100644 --- a/cli/npm/tarball.rs +++ b/cli/npm/tarball.rs @@ -154,12 +154,12 @@ mod test { verify_tarball_integrity(package, &Vec::new(), "sha512-test") .unwrap_err() .to_string(), - format!("Tarball checksum did not match what was provided by npm registry for package@1.0.0.\n\nExpected: test\nActual: {}", actual_checksum), + format!("Tarball checksum did not match what was provided by npm registry for package@1.0.0.\n\nExpected: test\nActual: {actual_checksum}"), ); assert!(verify_tarball_integrity( package, &Vec::new(), - &format!("sha512-{}", actual_checksum) + &format!("sha512-{actual_checksum}") ) .is_ok()); } |