mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
e5c2479ee6
The bintest added in 9d8d41006b uses `"hello world".split(/\s+/)`,
which raises `uninitialized constant Regexp` in builds that omit
mruby-regexp. Probe whether the mruby binary defines Regexp and
skip the whole assert block when it doesn't; the test is regression
coverage for mruby-regexp's String#split override, so when regexp
isn't loaded there is nothing to verify.
close #6832
Co-authored-by: Claude <noreply@anthropic.com>