Skip to content

Commit

Permalink
Make test.js layout easier to modify
Browse files Browse the repository at this point in the history
  • Loading branch information
martynsmith committed Oct 29, 2011
1 parent 3c2e354 commit 6544d4f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ var irc = require('./lib/irc.js');
var util = require('util');
var color = require('ansi-color').set;

var c = new irc.Client('irc.dollyfish.net.nz', 'nodebot', { channels: ['#test'] });
var c = new irc.Client(
'irc.dollyfish.net.nz',
'nodebot',
{
channels: ['#test'],
//debug: true
}
);

c.addListener('raw', function(message) { console.log('raw: ', message) });
c.addListener('error', function(message) { console.log(color('error: ', 'red'), message) });
Expand Down

0 comments on commit 6544d4f

Please sign in to comment.