Opened 11 years ago

Closed 11 years ago

#5656 closed defect (duplicate)

UT failure in html

Reported by: Adam Peller Owned by: anonymous
Priority: high Milestone: 1.1
Component: Core Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

_AssertFailure: dojo/_base/_loader/bootstrap.js:353 doh._AssertFailure: assertEqual() failed: expected |null| but got

doh._AssertFailure

ERROR IN:

(function attrId(t) {t.t(dojo.hasAttr("div-no-tabindex", "id"));t.is("div-no-tabindex", dojo.attr("div-no-tabindex", "id"));var div = document.createElement("div");t.f(dojo.hasAttr(div, "id"));t.is(null, dojo.attr(div, "id"));dojo.attr(div, "id", "attrId1");t.t(dojo.hasAttr(div, "id"));t.is("attrId1", dojo.attr(div, "id"));dojo.removeAttr(div, "id");t.f(dojo.hasAttr(div, "id"));t.is(null, dojo.attr(div, "id"));})

FAILED test: ../../dojo/tests/_base/html.html::t::attrId

Change History (1)

comment:1 Changed 11 years ago by Adam Peller

Resolution: duplicate
Status: newclosed

see #5631

Note: See TracTickets for help on using tickets.