Commit 0382a490 authored by John Resig's avatar John Resig

Added .not() test case.

parent 0f458cf8
...@@ -637,6 +637,7 @@ jQuery.fn = jQuery.prototype = { ...@@ -637,6 +637,7 @@ jQuery.fn = jQuery.prototype = {
* @example $("p").not("#selected") * @example $("p").not("#selected")
* @before <p>Hello</p><p id="selected">Hello Again</p> * @before <p>Hello</p><p id="selected">Hello Again</p>
* @result [ <p>Hello</p> ] * @result [ <p>Hello</p> ]
* @test cmpOK($("#main > p#ap > a").not("#google").length, "==", 2, ".not")
* *
* @name not * @name not
* @type jQuery * @type jQuery
......
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