diff options
Diffstat (limited to 'src/test/run-fail/rt-set-exit-status-fail.rs')
| -rw-r--r-- | src/test/run-fail/rt-set-exit-status-fail.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-fail/rt-set-exit-status-fail.rs b/src/test/run-fail/rt-set-exit-status-fail.rs index c960679a43f..e524a2432ac 100644 --- a/src/test/run-fail/rt-set-exit-status-fail.rs +++ b/src/test/run-fail/rt-set-exit-status-fail.rs @@ -17,8 +17,8 @@ use std::os; fn main() { error!("whatever"); // Setting the exit status only works when the scheduler terminates - // normally. In this case we're going to fail, so instead of + // normally. In this case we're going to panic, so instead of // returning 50 the process will return the typical rt failure code. os::set_exit_status(50); - fail!(); + panic!(); } |
