Skip to content

Commit

Permalink
fix some test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm committed Jun 4, 2015
1 parent 15f2bb1 commit e718905
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/safe-json-stringify.test.js
Expand Up @@ -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();
});
});
Expand All @@ -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();
});
});
Expand Down

0 comments on commit e718905

Please sign in to comment.