diff options
| author | take_cheeze <[email protected]> | 2014-07-08 22:25:32 +0900 |
|---|---|---|
| committer | take_cheeze <[email protected]> | 2014-07-08 22:25:32 +0900 |
| commit | ab779b7ad8988f090e36e57eaa6774e54b24f679 (patch) | |
| tree | b2ec4d4ff676848350ed03b2cf5a12d5b626e25f /test | |
| parent | 5bb0a1fb5e6c2ed189fc09ac4e761336bddffa75 (diff) | |
| download | mruby-ab779b7ad8988f090e36e57eaa6774e54b24f679.tar.gz mruby-ab779b7ad8988f090e36e57eaa6774e54b24f679.zip | |
Use `mrb_print_error` to print exception instead of `mrb_p`.
Diffstat (limited to 'test')
| -rw-r--r-- | test/init_mrbtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/init_mrbtest.c b/test/init_mrbtest.c index 717578dc8..3ce42f661 100644 --- a/test/init_mrbtest.c +++ b/test/init_mrbtest.c @@ -16,7 +16,7 @@ mrb_init_mrbtest(mrb_state *mrb) mrbgemtest_init(mrb); #endif if (mrb->exc) { - mrb_p(mrb, mrb_obj_value(mrb->exc)); + mrb_print_error(mrb); exit(EXIT_FAILURE); } } |
