Fixup node test

This commit is contained in:
Nick O'Leary 2020-09-04 09:52:30 +01:00
parent 44b1819926
commit 5cf489a270
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ describe('Node', function() {
should.deepEqual(msg,message);
should.strictEqual(msg,message);
});
n2.on('input',function() {
n2.on('input',function(msg) {
messageReceived++;
messageReceived.should.be.exactly(2);
should.strictEqual(this,n2);