From 2a9eacb1d0db4b247673d0a0eb1c1dd255edbd54 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov <aleksey.kladov@gmail.com> Date: Tue, 17 Jan 2017 02:05:32 +0300 Subject: [PATCH] Fix a test. Presumably, it should failed when it was first written, but Cargo does not do such validation yet. --- tests/workspaces.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/workspaces.rs b/tests/workspaces.rs index 6d6be8a2d29..1b2797f979d 100644 --- a/tests/workspaces.rs +++ b/tests/workspaces.rs @@ -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#"