We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efaaa0c commit 9e2b373Copy full SHA for 9e2b373
tests/testsuite/package.rs
@@ -1099,6 +1099,20 @@ Cargo.toml
1099
1100
to proceed despite this and include the uncommitted changes, pass the `--allow-dirty` flag
1101
1102
+"#]])
1103
+ .run();
1104
+
1105
+ // cd to `src` and cargo report relative paths.
1106
+ p.cargo("package")
1107
+ .cwd(p.root().join("src"))
1108
+ .with_status(101)
1109
+ .with_stderr_data(str![[r#"
1110
+[ERROR] 1 files in the working directory contain changes that were not yet committed into git:
1111
1112
+Cargo.toml
1113
1114
+to proceed despite this and include the uncommitted changes, pass the `--allow-dirty` flag
1115
1116
"#]])
1117
.run();
1118
}
0 commit comments