Skip to content

Commit 247f025

Browse files
committed
fix: ci
1 parent ca1c73e commit 247f025

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/integration/test_run.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,7 @@ run_args = ["--manifest-path", "{workspace_root}/Cargo.toml", "{cargo_args}", "-
719719
],
720720
)?;
721721
let stdout = String::from_utf8_lossy(&output.stdout);
722+
let manifest_path = ws.path.join("Cargo.toml");
722723

723724
assert!(output.status.success(), "run should succeed");
724725
assert!(
@@ -727,7 +728,7 @@ run_args = ["--manifest-path", "{workspace_root}/Cargo.toml", "{cargo_args}", "-
727728
stdout
728729
);
729730
assert!(
730-
stdout.contains(&format!("{}/Cargo.toml", ws.path.display())),
731+
stdout.contains(&manifest_path.display().to_string()),
731732
"workspace_root token should expand to absolute path. Output:\n{}",
732733
stdout
733734
);

0 commit comments

Comments
 (0)