Skip to content

Commit 82c834c

Browse files
committed
Update tests
1 parent a9424d9 commit 82c834c

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

tests/testsuite/build.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ fn cargo_compile_with_invalid_code() {
570570
.with_status(101)
571571
.with_stderr_contains(
572572
"\
573-
[ERROR] could not compile `foo`.
573+
[ERROR] could not compile `foo`
574574
575575
To learn more, run the command again with --verbose.\n",
576576
)
@@ -4669,7 +4669,7 @@ fn signal_display() {
46694669
"\
46704670
[COMPILING] pm [..]
46714671
[COMPILING] foo [..]
4672-
[ERROR] could not compile `foo`.
4672+
[ERROR] could not compile `foo`
46734673
46744674
Caused by:
46754675
process didn't exit successfully: `rustc [..]` (signal: 6, SIGABRT: process abort signal)

tests/testsuite/build_script.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ fn build_deps_not_for_normal() {
10691069
.with_stderr_contains("[..]can't find crate for `aaaaa`[..]")
10701070
.with_stderr_contains(
10711071
"\
1072-
[ERROR] could not compile `foo`.
1072+
[ERROR] could not compile `foo`
10731073
10741074
Caused by:
10751075
process didn't exit successfully: [..]

tests/testsuite/check.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ fn short_message_format() {
692692
"\
693693
src/lib.rs:1:27: error[E0308]: mismatched types
694694
error: aborting due to previous error
695-
error: could not compile `foo`.
695+
error: could not compile `foo`
696696
",
697697
)
698698
.run();

tests/testsuite/fix.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn do_not_fix_broken_builds() {
2525
p.cargo("fix --allow-no-vcs")
2626
.env("__CARGO_FIX_YOLO", "1")
2727
.with_status(101)
28-
.with_stderr_contains("[ERROR] could not compile `foo`.")
28+
.with_stderr_contains("[ERROR] could not compile `foo`")
2929
.run();
3030
assert!(p.read_file("src/lib.rs").contains("let mut x = 3;"));
3131
}

tests/testsuite/install.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ fn compile_failure() {
661661
found at `[..]target`
662662
663663
Caused by:
664-
could not compile `foo`.
664+
could not compile `foo`
665665
666666
To learn more, run the command again with --verbose.
667667
",

0 commit comments

Comments
 (0)