Flush stdout after every print from tests

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-10-23 11:01:36 +09:00
parent 71eeb86a99
commit fda64be996
+1
View File
@@ -66,6 +66,7 @@ t_printstr(mrb_state *mrb, mrb_value obj)
s = RSTRING_PTR(obj);
len = RSTRING_LEN(obj);
fwrite(s, len, 1, stdout);
fflush(stdout);
}
}