Commit 4dcbfc92 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Added test for feature #206

parent 51a07a6a
...@@ -667,6 +667,12 @@ jQuery.fn = jQuery.prototype = { ...@@ -667,6 +667,12 @@ jQuery.fn = jQuery.prototype = {
* var result = $('#first').append('<b>buga</b>'); * var result = $('#first').append('<b>buga</b>');
* ok( result.text() == defaultText + 'buga', 'Check if text appending works' ); * 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 * @name append
* @type jQuery * @type jQuery
* @param String html A string of HTML, that will be created on the fly and appended to the target. * @param String html A string of HTML, that will be created on the fly and appended to the target.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment