diff --git a/test/parse.js b/test/parse.js index d32a4e4..6a1cfa0 100644 --- a/test/parse.js +++ b/test/parse.js @@ -148,12 +148,7 @@ test('string and alias', function (t) { string: ['str'], }); - t.equal(z.str, '123'); - t.equal(typeof z.str, 'string'); - t.equal(z.s, '123'); - t.equal(typeof z.s, 'string'); - t.equal(z.S, '123'); - t.equal(typeof z.S, 'string'); + t.deepEqual(z, { _: [], s: '123', S: '123', str: '123' }); t.end(); });