Skip to content

Commit 41738be

Browse files
committed
chore: update progress tests to use check
1 parent 8d66a02 commit 41738be

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/testsuite/progress.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn bad_progress_config_unknown_when() {
1616
.file("src/lib.rs", "")
1717
.build();
1818

19-
p.cargo("build")
19+
p.cargo("check")
2020
.with_status(101)
2121
.with_stderr(
2222
"\
@@ -43,7 +43,7 @@ fn bad_progress_config_missing_width() {
4343
.file("src/lib.rs", "")
4444
.build();
4545

46-
p.cargo("build")
46+
p.cargo("check")
4747
.with_status(101)
4848
.with_stderr(
4949
"\
@@ -66,7 +66,7 @@ fn bad_progress_config_missing_when() {
6666
.file("src/lib.rs", "")
6767
.build();
6868

69-
p.cargo("build")
69+
p.cargo("check")
7070
.with_status(101)
7171
.with_stderr(
7272
"\
@@ -110,7 +110,7 @@ fn always_shows_progress() {
110110
.file("src/lib.rs", "")
111111
.build();
112112

113-
p.cargo("build")
113+
p.cargo("check")
114114
.with_stderr_contains("[DOWNLOADING] [..] crates [..]")
115115
.with_stderr_contains("[..][DOWNLOADED] 3 crates ([..]) in [..]")
116116
.with_stderr_contains("[BUILDING] [..] [..]/4: [..]")
@@ -151,7 +151,7 @@ fn never_progress() {
151151
.file("src/lib.rs", "")
152152
.build();
153153

154-
p.cargo("build")
154+
p.cargo("check")
155155
.with_stderr_does_not_contain("[DOWNLOADING] [..] crates [..]")
156156
.with_stderr_does_not_contain("[..][DOWNLOADED] 3 crates ([..]) in [..]")
157157
.with_stderr_does_not_contain("[BUILDING] [..] [..]/4: [..]")

0 commit comments

Comments
 (0)