Sha256: 483f3eaea611ea89890c66614424cb9b01f2b571830cdf45c6c0a315fb5f559a
Contents?: true
Size: 387 Bytes
Versions: 39
Compression:
Stored size: 387 Bytes
Contents
RSpec.describe Kernel do describe "#RE2" do it "returns an RE2::Regexp instance given a pattern" do expect(RE2('w(o)(o)')).to be_a(RE2::Regexp) end it "returns an RE2::Regexp instance given a pattern and options" do re = RE2('w(o)(o)', :case_sensitive => false) expect(re).to be_a(RE2::Regexp) expect(re).to_not be_case_sensitive end end end
Version data entries
39 entries across 39 versions & 1 rubygems