Sha256: f189c16ce94f6b30fd6b14dfcc72397d98361a51ab7ca52dbef50662455be845
Contents?: true
Size: 176 Bytes
Versions: 3
Compression:
Stored size: 176 Bytes
Contents
require "spec_helper" describe MatchData do describe "#to_hash" do it do expect("guten".match(/(?<a>.)(?<b>.)/).to_hash).to eq({a: "g", b: "u"}) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tagen-2.0.2 | spec/tagen/core/re_spec.rb |
tagen-2.0.1 | spec/tagen/core/re_spec.rb |
tagen-2.0.0 | spec/tagen/core/re_spec.rb |