Modify test to make rustc PR mergeable

Modify a test to be less succeptible to failure for wording changes.
This commit is contained in:
Esteban Küber 2020-02-12 12:10:58 -08:00
parent c31bd9d8ac
commit e0787ec2b3

View File

@ -64,7 +64,7 @@ fn check_fail() {
foo.cargo("check")
.with_status(101)
.with_stderr_contains("[..]this function takes 0 parameters but 1 parameter was supplied")
.with_stderr_contains("[..]this function takes 0[..]")
.run();
}