1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove unneeded newline from detailed_message

This commit is contained in:
Yusuke Endoh 2022-02-02 16:05:18 +09:00
parent 5099f64fa4
commit eda10e8102
Notes: git 2022-02-22 11:56:14 +09:00

View file

@ -189,7 +189,6 @@ rb_decorate_message(const VALUE eclass, const VALUE emesg, int highlight)
einfo = tail;
write_warn2(str, "\n", 1);
while (elen > 0) {
write_warn2(str, "\n", 1);
tail = memchr(einfo, '\n', elen);
if (!tail || tail > einfo) {
write_warn(str, bold);