Skip to content

Commit 6fd8b16

Browse files
author
Alexander Regueiro
committed
Fixed tests.
1 parent a01f601 commit 6fd8b16

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

tests/testsuite/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3183,7 +3183,7 @@ fn invalid_spec() {
31833183

31843184
p.cargo("build -p d1 -p notAValidDep")
31853185
.with_status(101)
3186-
.with_stderr("[ERROR] package Id specification `notAValidDep` matched no packages")
3186+
.with_stderr("[ERROR] package ID specification `notAValidDep` matched no packages")
31873187
.run();
31883188
}
31893189

tests/testsuite/directory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ this could be indicative of a few possible errors:
420420
* a replacement source in use (e.g., a mirror) returned a different checksum
421421
* the source itself may be corrupt in one way or another
422422
423-
unable to verify that `bar v0.1.0` is the same as when the lock file was generated
423+
unable to verify that `bar v0.1.0` is the same as when the lockfile was generated
424424
425425
",
426426
)

tests/testsuite/features.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ fn cyclic_feature() {
537537

538538
p.cargo("build")
539539
.with_status(101)
540-
.with_stderr("[ERROR] Cyclic feature dependency: feature `default` depends on itself")
540+
.with_stderr("[ERROR] cyclic feature dependency: feature `default` depends on itself")
541541
.run();
542542
}
543543

tests/testsuite/package.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ fn path_dependency_no_version() {
279279
.with_status(101)
280280
.with_stderr(
281281
"\
282-
[WARNING] manifest has no description[..]
282+
[WARNING] manifest has no documentation, homepage or repository.
283283
See <http://doc.crates.io/manifest.html#package-metadata> for more info.
284284
[ERROR] all path dependencies must have a version specified when packaging.
285285
dependency `bar` does not specify a version.
@@ -569,7 +569,7 @@ fn ignore_nested() {
569569
p.cargo("package")
570570
.with_stderr(
571571
"\
572-
[WARNING] manifest has no description[..]
572+
[WARNING] manifest has no documentation[..]
573573
See <http://doc.crates.io/manifest.html#package-metadata> for more info.
574574
[PACKAGING] foo v0.0.1 ([CWD])
575575
[VERIFYING] foo v0.0.1 ([CWD])

tests/testsuite/required_features.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn build_bin_default_features() {
5151
.with_stderr(
5252
"\
5353
error: target `foo` in package `foo` requires the features: `a`
54-
Consider enabling them by passing e.g., `--features=\"a\"`
54+
Consider enabling them by passing, e.g., `--features=\"a\"`
5555
",
5656
)
5757
.run();
@@ -159,7 +159,7 @@ fn build_example_default_features() {
159159
.with_stderr(
160160
"\
161161
error: target `foo` in package `foo` requires the features: `a`
162-
Consider enabling them by passing e.g., `--features=\"a\"`
162+
Consider enabling them by passing, e.g., `--features=\"a\"`
163163
",
164164
)
165165
.run();
@@ -226,7 +226,7 @@ fn build_example_multiple_required_features() {
226226
.with_stderr(
227227
"\
228228
error: target `foo_1` in package `foo` requires the features: `b`, `c`
229-
Consider enabling them by passing e.g., `--features=\"b c\"`
229+
Consider enabling them by passing, e.g., `--features=\"b c\"`
230230
",
231231
)
232232
.run();
@@ -246,7 +246,7 @@ Consider enabling them by passing e.g., `--features=\"b c\"`
246246
.with_stderr(
247247
"\
248248
error: target `foo_1` in package `foo` requires the features: `b`, `c`
249-
Consider enabling them by passing e.g., `--features=\"b c\"`
249+
Consider enabling them by passing, e.g., `--features=\"b c\"`
250250
",
251251
)
252252
.run();
@@ -255,7 +255,7 @@ Consider enabling them by passing e.g., `--features=\"b c\"`
255255
.with_stderr(
256256
"\
257257
error: target `foo_2` in package `foo` requires the features: `a`
258-
Consider enabling them by passing e.g., `--features=\"a\"`
258+
Consider enabling them by passing, e.g., `--features=\"a\"`
259259
",
260260
)
261261
.run();
@@ -313,7 +313,7 @@ fn test_default_features() {
313313
.with_stderr(
314314
"\
315315
error: target `foo` in package `foo` requires the features: `a`
316-
Consider enabling them by passing e.g., `--features=\"a\"`
316+
Consider enabling them by passing, e.g., `--features=\"a\"`
317317
",
318318
)
319319
.run();
@@ -474,7 +474,7 @@ fn bench_default_features() {
474474
.with_stderr(
475475
"\
476476
error: target `foo` in package `foo` requires the features: `a`
477-
Consider enabling them by passing e.g., `--features=\"a\"`
477+
Consider enabling them by passing, e.g., `--features=\"a\"`
478478
",
479479
)
480480
.run();
@@ -663,7 +663,7 @@ fn install_default_features() {
663663
664664
Caused by:
665665
target `foo` in package `foo` requires the features: `a`
666-
Consider enabling them by passing e.g., `--features=\"a\"`
666+
Consider enabling them by passing, e.g., `--features=\"a\"`
667667
",
668668
)
669669
.run();
@@ -683,7 +683,7 @@ Consider enabling them by passing e.g., `--features=\"a\"`
683683
684684
Caused by:
685685
target `foo` in package `foo` requires the features: `a`
686-
Consider enabling them by passing e.g., `--features=\"a\"`
686+
Consider enabling them by passing, e.g., `--features=\"a\"`
687687
",
688688
)
689689
.run();
@@ -940,7 +940,7 @@ fn dep_feature_in_cmd_line() {
940940
.with_stderr(
941941
"\
942942
error: target `foo` in package `foo` requires the features: `bar/a`
943-
Consider enabling them by passing e.g., `--features=\"bar/a\"`
943+
Consider enabling them by passing, e.g., `--features=\"bar/a\"`
944944
",
945945
)
946946
.run();
@@ -954,7 +954,7 @@ Consider enabling them by passing e.g., `--features=\"bar/a\"`
954954
.with_stderr(
955955
"\
956956
error: target `foo` in package `foo` requires the features: `bar/a`
957-
Consider enabling them by passing e.g., `--features=\"bar/a\"`
957+
Consider enabling them by passing, e.g., `--features=\"bar/a\"`
958958
",
959959
)
960960
.run();
@@ -1110,7 +1110,7 @@ fn run_default() {
11101110
.with_stderr(
11111111
"\
11121112
error: target `foo` in package `foo` requires the features: `a`
1113-
Consider enabling them by passing e.g., `--features=\"a\"`
1113+
Consider enabling them by passing, e.g., `--features=\"a\"`
11141114
",
11151115
)
11161116
.run();

0 commit comments

Comments
 (0)