Skip to content

Commit

Permalink
style(warnings): added missing semi colons
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery committed Jul 20, 2011
1 parent 443029d commit fe576f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/BrowserSpecs.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,15 @@ describe('browser', function(){
expect(deferId1).toBeDefined();
expect(deferId2).toBeDefined();
expect(deferId1).not.toEqual(deferId2);
})
});


describe('cancel', function() {
it('should allow tasks to be canceled with returned deferId', function() {
var log = [],
deferId1 = browser.defer(function() { log.push('cancel me') }),
deferId2 = browser.defer(function() { log.push('ok') }),
deferId3 = browser.defer(function() { log.push('cancel me, now!') });
deferId1 = browser.defer(function() { log.push('cancel me'); }),
deferId2 = browser.defer(function() { log.push('ok'); }),
deferId3 = browser.defer(function() { log.push('cancel me, now!'); });

expect(log).toEqual([]);
browser.defer.cancel(deferId1);
Expand Down

0 comments on commit fe576f1

Please sign in to comment.