Skip to content

Commit

Permalink
remove trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
hereandnow committed Jan 20, 2015
1 parent a7e1f4b commit c1d958b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/event-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ EventList.prototype = {
},

/**
* Check the presence of an Event with the specified
* Check the presence of an Event with the specified
* @param {String} attributeKey
* @param {String} attributeValue
* @param {String} eventType
Expand Down Expand Up @@ -248,7 +248,7 @@ EventList.prototype = {
* @returns {Boolean}
*/
failed: function (activityId) {
return this.has_activity_failed(activityId) ||
return this.has_activity_failed(activityId) ||
this.has_schedule_activity_task_failed(activityId);
},

Expand Down
8 changes: 4 additions & 4 deletions test/test_EventList.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ describe('EventList', function(){
var fixtureData = JSON.parse(fs.readFileSync( path.join(__dirname , '..', 'fixtures', fixtureFile), 'utf8') );
var evl = new EventList(fixtureData);


it('has json input', function() {
assert.deepEqual ({ foo: "arbitrary-string-that-is-meaningful-to-the-workflow"}, evl.workflow_input() );
})
Expand Down Expand Up @@ -179,7 +179,7 @@ describe('EventList', function(){
it('#failed()', function() {
assert.equal(true, evl.failed("my-fourth-activity") );
})


})

Expand Down Expand Up @@ -208,8 +208,8 @@ describe('EventList', function(){
})

it('#signal_input()', function() {
assert.equal("my-signal-input", evl.signal_input('my-signal') );
assert.deepEqual({foo: "my-signal-input"}, evl.signal_input('json-signal') );
assert.equal("my-signal-input", evl.signal_input('my-signal') );
assert.deepEqual({foo: "my-signal-input"}, evl.signal_input('json-signal') );
})

})
Expand Down

0 comments on commit c1d958b

Please sign in to comment.