Skip to content

Commit 2a9eacb

Browse files
committed
Fix a test.
Presumably, it should failed when it was first written, but Cargo does not do such validation yet.
1 parent 493abf5 commit 2a9eacb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/workspaces.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,7 @@ fn test_path_dependency_under_member() {
11961196
[dependencies]
11971197
foo = { path = "../foo" }
11981198
1199+
[workspace]
11991200
"#)
12001201
.file("ws/src/lib.rs", r"extern crate foo; pub fn f() { foo::f() }")
12011202
.file("foo/Cargo.toml", r#"

0 commit comments

Comments
 (0)