]> git.proxmox.com Git - cargo.git/commitdiff
Fix a test.
authorAleksey Kladov <aleksey.kladov@gmail.com>
Mon, 16 Jan 2017 23:05:32 +0000 (02:05 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 18 Jan 2017 07:36:55 +0000 (10:36 +0300)
Presumably, it should failed when it was first written, but Cargo does not do such validation yet.

tests/workspaces.rs

index 6d6be8a2d296e5366b596e0c8a352aa2e84db3b2..1b2797f979d7835a9f17a2492c5c8ad416d11931 100644 (file)
@@ -1196,6 +1196,7 @@ fn test_path_dependency_under_member() {
             [dependencies]
             foo = { path = "../foo" }
 
+            [workspace]
         "#)
         .file("ws/src/lib.rs", r"extern crate foo; pub fn f() { foo::f() }")
         .file("foo/Cargo.toml", r#"