Skip to content

Commit e339cf7

Browse files
committed
uncomment test
1 parent a4753fe commit e339cf7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/xmlParser_spec.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var parser = require("../src/parser");
22

33
describe("XMLParser", function () {
44

5-
/* it("should parse all values as string, int, boolean or float", function () {
5+
it("should parse all values as string, int, boolean or float", function () {
66
var xmlData = "<rootNode><tag>value</tag><boolean>true</boolean><intTag>045</intTag><floatTag>65.34</floatTag></rootNode>";
77
var expected = {
88
"rootNode": {
@@ -471,7 +471,7 @@ describe("XMLParser", function () {
471471
});
472472
//console.log(JSON.stringify(result,null,4));
473473
expect(result).toEqual(expected);
474-
}); */
474+
});
475475

476476
/* it("should parse nodes as arrays", function () {
477477
var fs = require("fs");
@@ -547,7 +547,7 @@ describe("XMLParser", function () {
547547
expect(result).toEqual(expected);
548548
}); */
549549

550-
/* it("should skip namespace", function () {
550+
it("should skip namespace", function () {
551551
var xmlData = '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >'
552552
+' <soapenv:Header>'
553553
+' <cor:applicationID>dashboardweb</cor:applicationID>'
@@ -579,7 +579,7 @@ describe("XMLParser", function () {
579579

580580
var result = parser.parse(xmlData,{ ignoreNameSpace : true});
581581
expect(result).toEqual(expected);
582-
}); */
582+
});
583583

584584
it("should not trim tag value if not allowed ", function () {
585585
var xmlData = "<rootNode> 123 </rootNode>";
@@ -655,5 +655,5 @@ describe("XMLParser", function () {
655655
expect(result).toEqual(expected);
656656
});
657657

658-
658+
659659
});

0 commit comments

Comments
 (0)