spec/js/numbers/decimal.spec.js in twitter_cldr_js-2.3.0 vs spec/js/numbers/decimal.spec.js in twitter_cldr_js-2.3.1

- old
+ new

@@ -18,7 +18,11 @@ }); it("should respect the precision option", function() { expect(formatter.format(-12, {precision: 3})).toEqual("-12.000"); }); + + it("should allow a precision of zero", function() { + expect(formatter.format(12.3, {precision: 0})).toEqual("12"); + }); }); }); \ No newline at end of file