mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Tests: Convert children to an array in domEqual().
This commit is contained in:
@@ -185,7 +185,7 @@ window.domEqual = function( selector, modifier, message ) {
|
||||
if ( children.length ) {
|
||||
result.children = elem.children().map(function( ind ) {
|
||||
return extract( $( this ) );
|
||||
});
|
||||
}).get();
|
||||
} else {
|
||||
result.text = elem.text();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user