-
Notifications
You must be signed in to change notification settings - Fork 14
How to include RegExp? #6
Copy link
Copy link
Open
Description
In mrbtest I get the Skip exception about Regexp not being included:
mtest_unit.rb:183: assert_match is not defined, because Regexp is not impl. (MTest::Skip)
In the gem I'm creating I have the line
spec.add_dependency('mruby-pcre-regexp', :mgem => 'mruby-pcre-regexp')
And in the build spec for test I have this gem included, too.
In the pcre-regexp gem this line is included:
Regexp = PcreRegexp unless Object.const_defined?(:Regexp)
What needs to be done more to have Regexp available in mruby-mtest?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels