Sha256: 132fd022feef52ed137d5fa0279f47e3e3a6f6dbe0ce9a1a975c2626bd3b0fa5
Contents?: true
Size: 534 Bytes
Versions: 17
Compression:
Stored size: 534 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 require 'spec_helper' include TwitterCldr::Parsers describe UnicodeRegexParser::CharacterRange do describe "#to_set" do it "should return a range between the initial and the final values" do range = UnicodeRegexParser::CharacterRange.new( UnicodeRegexParser::UnicodeString.new([97]), UnicodeRegexParser::UnicodeString.new([98]) ) expect(range.to_set.to_a(true)).to eq([97..98]) end end end
Version data entries
17 entries across 17 versions & 2 rubygems