Sha256: a9fcba0d8e9e0bafa2763b32b395145e369d9c2d324b5addebddba9cd9841c51

Contents?: true

Size: 489 Bytes

Versions: 4

Compression:

Stored size: 489 Bytes

Contents

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

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

describe("ShortDecimalFormatter", function() {
  beforeEach(function() {
    formatter = new TwitterCldr.ShortDecimalFormatter();
  });

  describe("#format", function() {
    it("formats a number with a literal period in the pattern", function() {
      expect(formatter.format(1000)).toEqual("1 тыс.");
    });
  });
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_cldr_js-2.4.0 spec/js/numbers/abbreviated/short_decimal.ru.spec.js
twitter_cldr_js-2.3.2 spec/js/numbers/abbreviated/short_decimal.ru.spec.js
twitter_cldr_js-2.3.1 spec/js/numbers/abbreviated/short_decimal.ru.spec.js
twitter_cldr_js-2.3.0 spec/js/numbers/abbreviated/short_decimal.ru.spec.js