Added test for feature #206

This commit is contained in:
Jörn Zaefferer 2006-09-18 12:58:17 +00:00
parent 51a07a6a5f
commit 4dcbfc92c3

View file

@ -667,6 +667,12 @@ jQuery.fn = jQuery.prototype = {
* var result = $('#first').append('<b>buga</b>');
* ok( result.text() == defaultText + 'buga', 'Check if text appending works' );
*
* @test reset();
* var expected = "Try them out: bla ";
* $('#first').append(" ");
* $('#first').append("bla ");
* ok( expected == $('#first').text(), "Check for appending of spaces" );
*
* @name append
* @type jQuery
* @param String html A string of HTML, that will be created on the fly and appended to the target.