Skip to content

Commit

Permalink
Added test for feature #206
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Sep 18, 2006
1 parent 51a07a6 commit 4dcbfc9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/jquery/jquery.js
Expand Up @@ -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.
Expand Down

0 comments on commit 4dcbfc9

Please sign in to comment.