diff options
author | louisremi <louisremi@louisremi-laptop.(none)> | 2011-04-12 10:47:46 +0200 |
---|---|---|
committer | louisremi <louisremi@louisremi-laptop.(none)> | 2011-04-12 10:47:46 +0200 |
commit | f42010b6574af9e57b3782eced61a7d955bf06d6 (patch) | |
tree | 8ed53591c8811f0a14feeb6361c5d3b12f561096 /test/unit/queue.js | |
parent | 11adde5127ec496cf692237ea0d4f6217eac97b8 (diff) | |
download | jquery-f42010b6574af9e57b3782eced61a7d955bf06d6.tar.gz jquery-f42010b6574af9e57b3782eced61a7d955bf06d6.zip |
third batch
Diffstat (limited to 'test/unit/queue.js')
-rw-r--r-- | test/unit/queue.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/unit/queue.js b/test/unit/queue.js index 31e587db2..34f61f826 100644 --- a/test/unit/queue.js +++ b/test/unit/queue.js @@ -7,32 +7,32 @@ test("queue() with other types",function() { var $div = jQuery({}); $div - .queue('foo',function(){ + .queue("foo",function(){ equals( ++counter, 1, "Dequeuing" ); - jQuery.dequeue(this,'foo'); + jQuery.dequeue(this,"foo"); }) - .queue('foo',function(){ + .queue("foo",function(){ equals( ++counter, 2, "Dequeuing" ); - jQuery(this).dequeue('foo'); + jQuery(this).dequeue("foo"); }) - .queue('foo',function(){ + .queue("foo",function(){ equals( ++counter, 3, "Dequeuing" ); }) - .queue('foo',function(){ + .queue("foo",function(){ equals( ++counter, 4, "Dequeuing" ); }); - equals( $div.queue('foo').length, 4, "Testing queue length" ); + equals( $div.queue("foo").length, 4, "Testing queue length" ); - $div.dequeue('foo'); + $div.dequeue("foo"); equals( counter, 3, "Testing previous call to dequeue" ); - equals( $div.queue('foo').length, 1, "Testing queue length" ); + equals( $div.queue("foo").length, 1, "Testing queue length" ); - $div.dequeue('foo'); + $div.dequeue("foo"); equals( counter, 4, "Testing previous call to dequeue" ); - equals( $div.queue('foo').length, 0, "Testing queue length" ); + equals( $div.queue("foo").length, 0, "Testing queue length" ); }); test("queue(name) passes in the next item in the queue as a parameter", function() { |