Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.

Commit 9bc2cbc

Browse files
committed
double check option
1 parent bd25314 commit 9bc2cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ describe('xml2json', function () {
176176
var data = fs.readFileSync(file);
177177
it('A: defaults without the option being defined', function(done) {
178178

179-
var result = parser.toJson(data, {reversible: true});
179+
var result = parser.toJson(data, {reversible: true, object: true});
180180
expect(result.unit.tst.case[0].justText['$t']).to.equal('blah blah');
181181
expect(result.unit.tst.case[1].attribText['$t']).to.equal('capital');
182182
});

0 commit comments

Comments
 (0)