Skip to content

Commit 622d4c2

Browse files
committed
test(vendor): make what to vendor clearer
1 parent dd4c8c0 commit 622d4c2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/testsuite/vendor.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,10 +1085,14 @@ fn ignore_files() {
10851085
.build();
10861086

10871087
Package::new("url", "1.4.1")
1088+
// These will be vendored
1089+
.file(".cargo_vcs_info.json", "")
10881090
.file("src/lib.rs", "")
1089-
.file("foo.orig", "")
1090-
.file(".gitignore", "")
1091+
// These will not be vendored
1092+
.file(".cargo-ok", "")
10911093
.file(".gitattributes", "")
1094+
.file(".gitignore", "")
1095+
.file("foo.orig", "")
10921096
.file("foo.rej", "")
10931097
.publish();
10941098

@@ -1099,6 +1103,7 @@ fn ignore_files() {
10991103
str![[r#"
11001104
{
11011105
"files": {
1106+
".cargo_vcs_info.json": "[..]",
11021107
"Cargo.toml": "[..]",
11031108
"src/lib.rs": "[..]"
11041109
},

0 commit comments

Comments
 (0)