Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mroderick committed Feb 11, 2014
1 parent 8623761 commit 19d2ba3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test-subscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
(function( global ){
"use strict";

var PubSub = global.PubSub || require("../src/pubsub"),
TestHelper = global.TestHelper || require("../test/helper"),
assert = buster.assert,
Expand All @@ -22,7 +22,7 @@

assert.isString( token );
},

"should return new token for several subscriptions with same function" : function(){
var func = function(){},
tokens = [],
Expand All @@ -37,7 +37,7 @@
// make sure all tokens are different
TestHelper.assertAllTokensDifferent( tokens );
},

"should return unique tokens for each namespaced subscription" : function(){
var func = function(){},
tokens = [],
Expand All @@ -51,13 +51,13 @@
// make sure all tokens are different
TestHelper.assertAllTokensDifferent( tokens );
},

"should return unique token for unique functions" : function(){
var tokens = [],
iterations = 10,
message = TestHelper.getUniqueString(),
i;

function bakeFunc( value ){
return function(){
return value;
Expand Down

0 comments on commit 19d2ba3

Please sign in to comment.