diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-07-09 13:34:38 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-07-09 13:34:38 +0900 |
| commit | 42d4eb9fe4fb46a4f3c33ab3f9fe954babd2638b (patch) | |
| tree | 6a9c8601542c4d221fd65a80d1a23cebda1100f0 /test/init_mrbtest.c | |
| parent | 506cda5a28b56750cb70b7b2a80317da524928c4 (diff) | |
| parent | ab779b7ad8988f090e36e57eaa6774e54b24f679 (diff) | |
| download | mruby-42d4eb9fe4fb46a4f3c33ab3f9fe954babd2638b.tar.gz mruby-42d4eb9fe4fb46a4f3c33ab3f9fe954babd2638b.zip | |
Merge pull request #2452 from take-cheeze/test_exc
Use `mrb_print_error` in test error handling.
Diffstat (limited to 'test/init_mrbtest.c')
| -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); } } |
