summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/init_mrbtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/init_mrbtest.c b/test/init_mrbtest.c
index 5c80c6e91..3b8f9129e 100644
--- a/test/init_mrbtest.c
+++ b/test/init_mrbtest.c
@@ -18,7 +18,7 @@ mrb_init_mrbtest(mrb_state *mrb)
#endif
if (mrb->exc) {
mrb_p(mrb, mrb_obj_value(mrb->exc));
- exit(0);
+ exit(EXIT_FAILURE);
}
}