Skip to content

Commit

Permalink
Modify test to make rustc PR mergeable
Browse files Browse the repository at this point in the history
Modify a test to be less succeptible to failure for wording changes.
  • Loading branch information
estebank committed Feb 12, 2020
1 parent c31bd9d commit e0787ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit e0787ec

Please sign in to comment.