1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add line/col report test

This commit is contained in:
Nick O'Leary 2015-02-07 19:56:22 +00:00
parent ae7f1b38a8
commit 8451c29a25

View File

@ -146,7 +146,7 @@ describe('function node', function() {
msg.should.have.property('level', helper.log().ERROR); msg.should.have.property('level', helper.log().ERROR);
msg.should.have.property('id', 'n1'); msg.should.have.property('id', 'n1');
msg.should.have.property('type', 'function'); msg.should.have.property('type', 'function');
msg.should.have.property('msg', 'ReferenceError: retunr is not defined'); msg.should.have.property('msg', 'ReferenceError: retunr is not defined (line 1, col 1)');
done(); done();
} catch(err) { } catch(err) {
done(err); done(err);