Opened 11 years ago

Closed 11 years ago

#7721 closed defect (duplicate)

_Templated unit test failure (IE6)

Reported by: bill Owned by:
Priority: high Milestone: 1.2
Component: Dijit Version: 1.2beta
Keywords: Cc: Adam Peller
Blocked By: Blocking:

Description

_AssertFailure: [object Error]: assertEqual() failed: expected

<button widgetid="test2"><span num="5" value="false">hello &lt;"' world</span></button>

but got

<button widgetid="test2"><span value="false" num="5">hello &lt;"' world</span></button>
  [object Error]     ERROR IN:  function variables(t){ var widget=new VariableTemplate(); var wrapper=dojo.byId("variables1Wrapper"); wrapper.appendChild(widget.domNode); t.is('<button widgetid=\"test2\"><span num="5" value="false">hello &lt;"\' world</span></button>', wrapper.innerHTML.toLowerCase()); } 

FAILED test: ../../dijit/tests/_Templated.html::dijit.tests._Templated.html::variables 0 ms

_AssertFailure: [object Error]: assertEqual() failed: expected

 <button widgetid="myid"><span num="-5" value="true"></span></button>

but got

<button widgetid="myid"><span value="true" num="-5"></span></button> 
 [object Error]     ERROR IN:  function variables2(t){ var widget = new VariableTemplate({id: "myid", num: -5, bool: true, text: ""}); var wrapper=dojo.byId("variables2Wrapper"); wrapper.appendChild(widget.domNode); 

t.is('<button widgetid=\"myid\"><span num="-5" value="true"></span></button>', wrapper.innerHTML.toLowerCase()); } 

FAILED test: ../../dijit/tests/_Templated.html::dijit.tests._Templated.html::variables2 0 ms

Change History (1)

comment:1 Changed 11 years ago by bill

Cc: Adam Peller added
Resolution: duplicate
Status: newclosed

I reopened #5226 for this issue.

Note: See TracTickets for help on using tickets.