Sha256: 12b5ea33a6a3db98bed4f701e4b15955118677e5dfbf7d58679299a62cf793c1

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 Bytes

Contents

// Copyright 2012 Twitter, Inc
// http://www.apache.org/licenses/LICENSE-2.0

var TwitterCldr = require('../../../../lib/assets/javascripts/twitter_cldr/en.js');

describe("Character Range", function() {
	describe("#to_set", function() {
		it("should return a range between the initial and the final values", function() {
			range = new TwitterCldr.CharacterRange (
				new TwitterCldr.UnicodeString([97]),
				new TwitterCldr.UnicodeString([98])
			);

			expect (range.to_set().to_array(true)).toEqualRangeArray([new TwitterCldr.Range(97,98)]);
		});
	});
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twitter_cldr_js-2.4.0 spec/js/parsers/unicode_regex/character_range.spec.js