Skip to content

Commit

Permalink
add failure-status: 1 to the test
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Apr 5, 2018
1 parent dc9128f commit 40a1ee8
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// error-pattern: An error message for you
// failure-status: 1

fn main() -> Result<(), &'static str> {
Err("An error message for you")
Expand Down

0 comments on commit 40a1ee8

Please sign in to comment.