diff --git a/array.c b/array.c index e76801df50..271e2187e6 100644 --- a/array.c +++ b/array.c @@ -2463,7 +2463,7 @@ rb_ary_bsearch(VALUE ary) } else { rb_raise(rb_eTypeError, "wrong argument type %s" - "(must respond be numeric, true, false or nil)", + " (must respond be numeric, true, false or nil)", rb_obj_classname(v)); } if (smaller) { diff --git a/range.c b/range.c index 388418bff7..693920b803 100644 --- a/range.c +++ b/range.c @@ -596,7 +596,7 @@ range_bsearch(VALUE range) } \ else { \ rb_raise(rb_eTypeError, "wrong argument type %s" \ - "(must respond be numeric, true, false or nil)", \ + " (must respond be numeric, true, false or nil)", \ rb_obj_classname(v)); \ } \ } while (0)