diff --git a/xtask/src/layers.rs b/xtask/src/layers.rs index db24f2d05b..a01447431f 100644 --- a/xtask/src/layers.rs +++ b/xtask/src/layers.rs @@ -302,7 +302,7 @@ mod tests { #[test] fn self_dev_dependency_ignored() { - assert!(check(&[c("photocraft-psd", &[("photocraft-psd", Dev, true)])]).is_empty()); + assert!(check(&[c("photocraft-codecs", &[("photocraft-codecs", Dev, true)])]).is_empty()); } #[test] @@ -313,7 +313,7 @@ mod tests { #[test] fn standalone_crates_have_no_workspace_deps() { - for s in ["photocraft-psd", "photocraft-codecs", "photocraft-adobe-assets"] { + for s in ["photocraft-codecs", "photocraft-adobe-assets"] { let v = check(&[c(s, &[("photocraft-geom", Normal, true)])]); assert!(matches!(v[..], [Violation::StandaloneHasWorkspaceDep { .. }]), "{s}"); assert!(check(&[c(s, &[("image", Normal, false)])]).is_empty()); @@ -323,7 +323,7 @@ mod tests { #[test] fn standalone_crates_have_no_exceptions() { // Standalone crates may not use each other, in either direction. - for (from, to) in [("photocraft-codecs", "photocraft-psd"), ("photocraft-psd", "photocraft-codecs")] { + for (from, to) in [("photocraft-codecs", "photocraft-adobe-assets"), ("photocraft-adobe-assets", "photocraft-codecs")] { let v = check(&[c(from, &[(to, Normal, true)])]); assert!(matches!(v[..], [Violation::StandaloneHasWorkspaceDep { .. }]), "{from} -> {to}"); } @@ -334,7 +334,7 @@ mod tests { #[test] fn standalone_is_usable_from_higher_layers() { - assert!(check(&[c("photocraft-io", &[("photocraft-psd", Normal, true)])]).is_empty()); + assert!(check(&[c("photocraft-io", &[("photocraft-codecs", Normal, true)])]).is_empty()); let v = check(&[c("photocraft-geom", &[("photocraft-codecs", Normal, true)])]); assert!(matches!(v[..], [Violation::Upward { from: 0, to: 0, .. }])); }