Skip to content

Commit

Permalink
feat(ci): add no path dependencies test
Browse files Browse the repository at this point in the history
  • Loading branch information
nadin-Starkware committed Aug 27, 2024
1 parent 6419750 commit 344d014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workspace_tests/version_integrity_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::toml_utils::{LocalCrate, ROOT_TOML};
#[test]
fn test_path_dependencies_are_members() {
let non_member_path_crates: Vec<_> = ROOT_TOML
.path_dependencies()
.workspace_path_dependencies()
.filter(|LocalCrate { path, .. }| !ROOT_TOML.members().contains(path))
.collect();
assert!(
Expand All @@ -17,7 +17,7 @@ fn test_path_dependencies_are_members() {
fn test_version_alignment() {
let workspace_version = ROOT_TOML.workspace_version();
let crates_with_incorrect_version: Vec<_> = ROOT_TOML
.path_dependencies()
.workspace_path_dependencies()
.filter(|LocalCrate { version, .. }| version != workspace_version)
.collect();
assert!(
Expand Down

0 comments on commit 344d014

Please sign in to comment.