Skip to content

Commit

Permalink
Docs: Fix incorrect trac-NUMBER references
Browse files Browse the repository at this point in the history
PR gh-4993 changed a few too many issue references to `trac-NUMBER` ones. This
change fixes them. It also fixes a typo in one Trac issue number in selector
tests.

Ref gh-4993
Closes gh-4995
  • Loading branch information
mgol committed Jan 12, 2022
1 parent 9603b3c commit eb9ceb2
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions test/unit/ajax.js
Expand Up @@ -2770,8 +2770,8 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
} );

// Selector should be trimmed to avoid leading spaces (trac-14773)
// Selector should include any valid non-HTML whitespace (trac-3003)
QUnit.test( "jQuery.fn.load( URL_SELECTOR with non-HTML whitespace(trac-3003) )", function( assert ) {
// Selector should include any valid non-HTML whitespace (gh-3003)
QUnit.test( "jQuery.fn.load( URL_SELECTOR with non-HTML whitespace(gh-3003) )", function( assert ) {
assert.expect( 1 );
var done = assert.async();
jQuery( "#first" ).load( baseURL + "test3.html #whitespace\\\\xA0 ", function() {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/core.js
Expand Up @@ -817,7 +817,7 @@ QUnit.test( "jQuery.map", function( assert ) {
result = jQuery.map( Array( 300000 ), function( v, k ) {
return k;
} );
assert.equal( result.length, 300000, "Able to map 300000 records without any problems (trac-4320)" );
assert.equal( result.length, 300000, "Able to map 300000 records without any problems (gh-4320)" );
} else {
assert.ok( "skip", "Array#flat isn't supported in IE" );
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/css.js
Expand Up @@ -1182,7 +1182,7 @@ if ( jQuery.fn.offset ) {
} );
}

QUnit.test( "Do not append px (trac-9548, trac-12990, trac-2792)", function( assert ) {
QUnit.test( "Do not append px (trac-9548, trac-12990, gh-2792)", function( assert ) {
assert.expect( 4 );

var $div = jQuery( "<div>" ).appendTo( "#qunit-fixture" );
Expand Down
2 changes: 1 addition & 1 deletion test/unit/data.js
Expand Up @@ -290,7 +290,7 @@ QUnit.test( "data-* attributes", function( assert ) {

child.appendTo( "#qunit-fixture" );
assert.equal( child.data( "myobj" ), "old data", "Value accessed from data-* attribute" );
assert.equal( child.data( "foo-42" ), "boosh", "camelCasing does not affect numbers (trac-1751)" );
assert.equal( child.data( "foo-42" ), "boosh", "camelCasing does not affect numbers (gh-1751)" );

child.data( "myobj", "replaced" );
assert.equal( child.data( "myobj" ), "replaced", "Original data overwritten" );
Expand Down
2 changes: 1 addition & 1 deletion test/unit/effects.js
Expand Up @@ -1949,7 +1949,7 @@ QUnit.test( "Animation callbacks (trac-11797)", function( assert ) {
this.clock.tick( 10 );
} );

QUnit.test( "Animation callbacks in order (trac-2292)", function( assert ) {
QUnit.test( "Animation callbacks in order (gh-2283)", function( assert ) {
assert.expect( 9 );

var done = assert.async(),
Expand Down
2 changes: 1 addition & 1 deletion test/unit/manipulation.js
Expand Up @@ -465,7 +465,7 @@ QUnit.test( "html(String) with HTML5 (Bug trac-6485)", function( assert ) {
assert.equal( jQuery( "#qunit-fixture" ).children().children().children().length, 1, "Make sure nested HTML5 elements can hold children." );
} );

QUnit.test( "html(String) tag-hyphenated elements (Bug trac-1987)", function( assert ) {
QUnit.test( "html(String) tag-hyphenated elements (Bug gh-1987)", function( assert ) {

assert.expect( 27 );

Expand Down
2 changes: 1 addition & 1 deletion test/unit/selector.js
Expand Up @@ -643,7 +643,7 @@ QUnit.test( "attributes - special characters", function( assert ) {
var attrbad;
var div = document.createElement( "div" );

// trac-3279
// trac-3729
div.innerHTML = "<div id='foo' xml:test='something'></div>";
assert.deepEqual( jQuery( "[xml\\:test]", div ).get(),
[ div.firstChild ],
Expand Down

0 comments on commit eb9ceb2

Please sign in to comment.