Skip to content

How to include RegExp? #6

@hlogmans

Description

@hlogmans

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions