diff --git a/tests/emptycollection.js b/tests/emptycollection.js index 332740b..cf911f3 100644 --- a/tests/emptycollection.js +++ b/tests/emptycollection.js @@ -79,7 +79,7 @@ sink('Empty-collection safety', function (test, ok) { , after: { str: 'html', args: [''], expect: isSameContainer } , insertBefore: { str: 'html', args: [''], expect: isSameContainer } , insertAfter: { str: 'html', args: [''], expect: isSameContainer } - , replaceWith: { str: 'html', args: [''], expect: isSameContainer } + , replaceWith: { str: 'html', args: [''], expect: isEmptyContainer } , css: [ { str: 'prop', args: ['color'], expect: isNull } // not sure about this one, depending on the browser you might get "" for an empty property on a real element and undefined for an unknown property on a real element , { str: 'prop, val', args: ['color', 'red'], expect: isSameContainer } , { str: '{prop: val}', args: [{color: 'red'}], expect: isSameContainer }