diff options
Diffstat (limited to 'crates/mozart-registry/src/lockfile.rs')
| -rw-r--r-- | crates/mozart-registry/src/lockfile.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/mozart-registry/src/lockfile.rs b/crates/mozart-registry/src/lockfile.rs index 64333e6..a9ecf36 100644 --- a/crates/mozart-registry/src/lockfile.rs +++ b/crates/mozart-registry/src/lockfile.rs @@ -661,7 +661,7 @@ mod tests { Some(vec!["MIT".to_string()].as_slice()) ); assert_eq!( - locked.keywords.as_ref().map(|k| k.as_slice()), + locked.keywords.as_deref(), Some(["example".to_string(), "test".to_string()].as_slice()) ); assert_eq!(locked.package_type.as_deref(), Some("library")); @@ -954,7 +954,7 @@ mod tests { // Verify that packages are sorted alphabetically when assembled in generate_lock_file // We test this by constructing two LockedPackages and sorting them the same way - let mut packages = vec