Opened 11 years ago

Closed 11 years ago

#8078 closed defect (fixed)

IE: unit test failure in tests.number

Reported by: bill Owned by: Adam Peller
Priority: high Milestone: 1.3
Component: Core Version: 1.2.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Failure in number_regression_1.

I run http://archive.dojotoolkit.org/nightly/dojotoolkit/util/doh/runner.html?testModule=tests.number

and then i get

    _AssertFailure: [object Error]: assertEqual() failed:  expected -0.1 but got -0 
 [object Error]     ERROR IN:  function(t){
 /** * Refer to ICU4J's NumberFormatRegressionTest.Test4161100() */ 
tests.number.checkFormatParseCycle(t, {pattern:"#0.#"},-0.09,"-0.1",false); }
FAILED test: number_regression_1 0 ms

Change History (5)

comment:1 Changed 11 years ago by bill

Owner: changed from anonymous to Adam Peller
Summary: IE8: unit test failure in tests.numberIE: unit test failure in tests.number

Actually this is failing on IE7 too (and likely IE6), not just IE8.

comment:2 Changed 11 years ago by bill

Description: modified (diff)

comment:3 Changed 11 years ago by Adam Peller

(0.09).toFixed(1) -> 0.0 (on all other browsers, 0.1) (1.09).toFixed(1) -> 1.1

Very odd.

comment:4 Changed 11 years ago by Adam Peller

Priority: normalhigh

comment:5 Changed 11 years ago by Adam Peller

Resolution: fixed
Status: newclosed

see [15888]

Note: See TracTickets for help on using tickets.