aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/deprecated.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/deprecated.js')
-rw-r--r--test/unit/deprecated.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/unit/deprecated.js b/test/unit/deprecated.js
index 5eb099c45..dd9aaee9c 100644
--- a/test/unit/deprecated.js
+++ b/test/unit/deprecated.js
@@ -205,4 +205,17 @@ QUnit.test( "jQuery.proxy", function( assert ) {
cb.call( thisObject, "arg3" );
} );
+if ( includesModule( "selector" ) ) {
+ QUnit[ QUnit.jQuerySelectors ? "test" : "skip" ](
+ "jQuery.expr[ \":\" ], jQuery.expr.filters",
+ function( assert ) {
+ assert.expect( 2 );
+
+ assert.strictEqual( jQuery.expr[ ":" ], jQuery.expr.pseudos,
+ "jQuery.expr[ \":\" ] is an alias of jQuery.expr.pseudos" );
+ assert.strictEqual( jQuery.expr.filters, jQuery.expr.pseudos,
+ "jQuery.expr.filters is an alias of jQuery.expr.pseudos" );
+ } );
+}
+
}