Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5506 closed defect (fixed)

UT failure in tests._base.NodeList

Reported by: Adam Peller Owned by: alex
Priority: blocker Milestone: 1.1
Component: General Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

confirmed on FF2 and IE6

    _AssertFailure: http://archive.dojotoolkit.org/nightly/dojotoolkit/dojo/dojo.js:133 doh._AssertFailure: assertEqual() failed: expected |1| but got |0|
 doh._AssertFailure
     ERROR IN:
  (function query() {var pnl = new dojo.NodeList(t);doh.is(c, pnl.query("span")[0]);doh.is(t, dojo.query("body").query(":last-child")[0]);doh.is(c, dojo.query("body").query(":last-child")[1]);doh.is(1, pnl.query().length);})
 FAILED test: ../../dojo/tests/_base/NodeList.html::t::query

Change History (3)

comment:1 Changed 11 years ago by alex

Status: newassigned

comment:2 Changed 11 years ago by alex

Resolution: fixed
Status: assignedclosed

(In [11957]) fixes #5506. When query() is called without any params, the source list should be passed back. !strict

comment:3 Changed 11 years ago by liucougar

(In [11959]) refs #5506: change styles to style

Note: See TracTickets for help on using tickets.