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)
|
## 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
|
## bunyan 1.3.6
|
||||||
|
|
|
@ -25,7 +25,7 @@ test('__defineGetter__ boom', function (t) {
|
||||||
exec(cmd, function (err, stdout, stderr) {
|
exec(cmd, function (err, stdout, stderr) {
|
||||||
t.ifError(err, err);
|
t.ifError(err, err);
|
||||||
var rec = JSON.parse(stdout.trim());
|
var rec = JSON.parse(stdout.trim());
|
||||||
t.equal(rec.obj.boom, '[Throws]');
|
t.equal(rec.obj.boom, '[Throws: __defineGetter__ ouch!]');
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -48,7 +48,7 @@ test('defineProperty boom', function (t) {
|
||||||
var recs = stdout.trim().split(/\n/g);
|
var recs = stdout.trim().split(/\n/g);
|
||||||
t.equal(recs.length, 2);
|
t.equal(recs.length, 2);
|
||||||
var rec = JSON.parse(recs[0]);
|
var rec = JSON.parse(recs[0]);
|
||||||
t.equal(rec.obj.boom, '[Throws]');
|
t.equal(rec.obj.boom, '[Throws: defineProperty ouch!]');
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue