diff --git a/tests/unit/autocomplete/autocomplete_core.js b/tests/unit/autocomplete/autocomplete_core.js index 6f1195910..2961cb09a 100644 --- a/tests/unit/autocomplete/autocomplete_core.js +++ b/tests/unit/autocomplete/autocomplete_core.js @@ -195,7 +195,7 @@ test( ".replaceWith() (#9172)", function() { replacement = "
test
", parent = element.parent(); element.replaceWith( replacement ); - equal( parent.html(), replacement ); + equal( parent.html().toLowerCase(), replacement ); }); }( jQuery ) );