Skip to content

Commit

Permalink
\W obj key test case
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Aug 5, 2014
1 parent e89b0f6 commit b0eceee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/values.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ var test = require('tape');

test('values', function (t) {
t.plan(1);
var obj = [ {}, [] ];
t.equal(inspect(obj), '[ {}, [] ]');
var obj = [ {}, [], { 'a-b': 5 } ];
t.equal(inspect(obj), '[ {}, [], { \'a-b\': 5 } ]');
});

0 comments on commit b0eceee

Please sign in to comment.