@@ -70,7 +70,7 @@ new Test.Unit.Runner({
70
70
'getElementById and $ should return the same element' ) ;
71
71
72
72
this . assertEnumEqual ( [ $ ( 'testdiv' ) , $ ( 'container' ) ] , $ ( 'testdiv' , 'container' ) ) ;
73
- this . assertEnumEqual ( [ $ ( 'testdiv' ) , undefined , $ ( 'container' ) ] ,
73
+ this . assertEnumEqual ( [ $ ( 'testdiv' ) , null , $ ( 'container' ) ] ,
74
74
$ ( 'testdiv' , 'noWayThisIDExists' , 'container' ) ) ;
75
75
var elt = $ ( 'testdiv' ) ;
76
76
this . assertIdentical ( elt , $ ( elt ) ) ;
@@ -1103,10 +1103,10 @@ new Test.Unit.Runner({
1103
1103
testElementWriteAttributeWithIssues : function ( ) {
1104
1104
var input = $ ( 'write_attribute_input' ) . writeAttribute ( { maxlength : 90 , tabindex : 10 } ) ,
1105
1105
td = $ ( 'write_attribute_td' ) . writeAttribute ( { valign : 'bottom' , colspan : 2 , rowspan : 2 } ) ;
1106
- this . assertEqual ( 90 , input . readAttribute ( 'maxlength' ) ) ;
1107
- this . assertEqual ( 10 , input . readAttribute ( 'tabindex' ) ) ;
1108
- this . assertEqual ( 2 , td . readAttribute ( 'colspan' ) ) ;
1109
- this . assertEqual ( 2 , td . readAttribute ( 'rowspan' ) ) ;
1106
+ this . assertEqual ( "90" , input . readAttribute ( 'maxlength' ) ) ;
1107
+ this . assertEqual ( "10" , input . readAttribute ( 'tabindex' ) ) ;
1108
+ this . assertEqual ( "2" , td . readAttribute ( 'colspan' ) ) ;
1109
+ this . assertEqual ( "2" , td . readAttribute ( 'rowspan' ) ) ;
1110
1110
this . assertEqual ( 'bottom' , td . readAttribute ( 'valign' ) ) ;
1111
1111
1112
1112
var p = $ ( 'write_attribute_para' ) , label = $ ( 'write_attribute_label' ) ;
0 commit comments