Opened 7 years ago

Closed 4 years ago

#16536 closed defect (fixed)

dojo/tests/json.js

Reported by: mm Owned by: Kris Zyp
Priority: undecided Milestone: 1.11
Component: Core Version: 1.8.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by ben hockey)

function simpleNumber(t){ t.is(3.3, JSON.parse('{"foo":3.3}', true).foo); },
function strictNumber(t){ t.is(3.3, JSON.parse('{"foo":3.3}', true).foo); },

I expect the simpleNumber was ment to be without "true", otherwise we have two same tests. function simpleNumber(t){ t.is(3.3, JSON.parse('{"foo":3.3}').foo); },

Change History (3)

comment:1 Changed 7 years ago by ben hockey

Description: modified (diff)

comment:2 Changed 7 years ago by bill

Component: TestFrameworkCore
Owner: set to Kris Zyp
Status: newassigned

comment:3 Changed 4 years ago by dylan

Milestone: tbd1.11
Resolution: fixed
Status: assignedclosed

This was fixed in the conversion of the tests to Intern, see https://github.com/dojo/dojo/blob/master/tests/unit/json.js

Note: See TracTickets for help on using tickets.