Skip to content

Commit 221938a

Browse files
committed
chore: update vendor tests to use check
1 parent b974cac commit 221938a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/testsuite/vendor.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fn vendor_simple() {
3434
assert!(lock.contains("version = \"0.3.5\""));
3535

3636
add_vendor_config(&p);
37-
p.cargo("build").run();
37+
p.cargo("check").run();
3838
}
3939

4040
#[cargo_test]
@@ -247,7 +247,7 @@ fn two_versions() {
247247
assert!(lock.contains("version = \"0.7.0\""));
248248

249249
add_vendor_config(&p);
250-
p.cargo("build").run();
250+
p.cargo("check").run();
251251
}
252252

253253
#[cargo_test]
@@ -292,7 +292,7 @@ fn two_explicit_versions() {
292292
assert!(lock.contains("version = \"0.7.0\""));
293293

294294
add_vendor_config(&p);
295-
p.cargo("build").run();
295+
p.cargo("check").run();
296296
}
297297

298298
#[cargo_test]
@@ -385,8 +385,8 @@ fn two_lockfiles() {
385385
assert!(lock.contains("version = \"0.7.0\""));
386386

387387
add_vendor_config(&p);
388-
p.cargo("build").cwd("foo").run();
389-
p.cargo("build").cwd("bar").run();
388+
p.cargo("check").cwd("foo").run();
389+
p.cargo("check").cwd("bar").run();
390390
}
391391

392392
#[cargo_test]
@@ -642,7 +642,7 @@ fn vendoring_git_crates() {
642642
p.read_file("vendor/serde_derive/src/wut.rs");
643643

644644
add_vendor_config(&p);
645-
p.cargo("build").run();
645+
p.cargo("check").run();
646646
}
647647

648648
#[cargo_test]

0 commit comments

Comments
 (0)