Fixed #874
[jquery.git] / src / jquery / coreTest.js
index 0bb9727..6b73b0c 100644 (file)
@@ -14,6 +14,9 @@ test("Basic requirements", function() {
 test("$()", function() {\r
        var main = $("#main");\r
        isSet( $("div p", main).get(), q("sndp", "en", "sap"), "Basic selector with jQuery object as context" );\r
+       \r
+       // make sure this is handled\r
+       $('<p>\r\n</p>');\r
 });\r
 \r
 test("length", function() {\r