Skip to content

Commit

Permalink
fixed tests for new events added
Browse files Browse the repository at this point in the history
  • Loading branch information
barncow committed Oct 15, 2011
1 parent f52ec43 commit 53d8238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fulllog.test.js
Expand Up @@ -95,13 +95,13 @@ module.exports = {
log.mapName.should.eql('cp_freight_final1');

//the healing and ubercharge stats from the 4th event were being placed in the third.
var scytheKillEvent = log.events[4];
var scytheKillEvent = log.events[11];
scytheKillEvent.player.steamid.should.eql('STEAM_0:0:946908');
scytheKillEvent.victim.steamid.should.eql('STEAM_0:0:13365050');
scytheKillEvent.assister.steamid.should.eql('STEAM_0:1:16481274');
should.not.exist(scytheKillEvent.healing);
should.not.exist(scytheKillEvent.ubercharge);
var wigglesKillEvent = log.events[5];
var wigglesKillEvent = log.events[13];
wigglesKillEvent.player.steamid.should.eql('STEAM_0:0:1939017');
wigglesKillEvent.victim.steamid.should.eql('STEAM_0:1:8656857');
wigglesKillEvent.assister.should.not.be.ok;
Expand Down

0 comments on commit 53d8238

Please sign in to comment.