fix some test failures
This commit is contained in:
parent
15f2bb1133
commit
e71890562e
2 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ Known issues:
|
|||
|
||||
## bunyan 1.3.7 (not yet released)
|
||||
|
||||
(nothing yet)
|
||||
- safe-json-stringify@1.0.3 changed output, breaking some tests. Fix those.
|
||||
|
||||
|
||||
## bunyan 1.3.6
|
||||
|
|
|
@ -25,7 +25,7 @@ test('__defineGetter__ boom', function (t) {
|
|||
exec(cmd, function (err, stdout, stderr) {
|
||||
t.ifError(err, err);
|
||||
var rec = JSON.parse(stdout.trim());
|
||||
t.equal(rec.obj.boom, '[Throws]');
|
||||
t.equal(rec.obj.boom, '[Throws: __defineGetter__ ouch!]');
|
||||
t.end();
|
||||
});
|
||||
});
|
||||
|
@ -48,7 +48,7 @@ test('defineProperty boom', function (t) {
|
|||
var recs = stdout.trim().split(/\n/g);
|
||||
t.equal(recs.length, 2);
|
||||
var rec = JSON.parse(recs[0]);
|
||||
t.equal(rec.obj.boom, '[Throws]');
|
||||
t.equal(rec.obj.boom, '[Throws: defineProperty ouch!]');
|
||||
t.end();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue