diff --git a/package.json b/package.json index bcd7fb342..3ae47bc8b 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "which": "^2.0.1", "winston": "^3.2.1", "xml-sanitizer": "^1.1.6", - "xmlbuilder": "^13.0.2", + "xmlbuilder": "^15.0.0", "yargs": "^15.1.0", "yarn": "^1.19.1" }, diff --git a/test/fixtures/parsed-junit.json b/test/fixtures/parsed-junit.json index 4207fd7f2..e4562eb71 100644 --- a/test/fixtures/parsed-junit.json +++ b/test/fixtures/parsed-junit.json @@ -9,14 +9,14 @@ "name": "iPass-v4.2.2", "time": "0.05" }, - "system-out": ["\n \n "] + "system-out": [""] }, { "$": { "name": "iFlakyFail-v3.3.3", "time": "0.05" }, - "system-out": ["\n Thanks for testing!\n "], + "system-out": [" Thanks for testing!"], "skipped": [""], "failure": [ { @@ -32,7 +32,7 @@ "name": "iFail-v3.0.1", "time": "0.05" }, - "system-out": ["\n Thanks for testing!\n "], + "system-out": [" Thanks for testing!"], "failure": [ { "_": "[object Object] ", @@ -47,7 +47,7 @@ "name": "iSkipped", "time": "NaN" }, - "system-out": ["\n \n "], + "system-out": [""], "skipped": [""] } ] diff --git a/test/fixtures/test-out-xml-failing.txt b/test/fixtures/test-out-xml-failing.txt index d9f095bb4..0afc77a96 100644 --- a/test/fixtures/test-out-xml-failing.txt +++ b/test/fixtures/test-out-xml-failing.txt @@ -1,26 +1,18 @@ - - - + - - - + [object Object] - - - + [object Object] - - - + diff --git a/test/fixtures/test-out-xml-passing-append.txt b/test/fixtures/test-out-xml-passing-append.txt index ee96bfaac..2f386c7e7 100644 --- a/test/fixtures/test-out-xml-passing-append.txt +++ b/test/fixtures/test-out-xml-passing-append.txt @@ -1,13 +1,9 @@ This is a test! - - - + - - - + diff --git a/test/fixtures/test-out-xml-passing.txt b/test/fixtures/test-out-xml-passing.txt index fdc68b860..a8cef951d 100644 --- a/test/fixtures/test-out-xml-passing.txt +++ b/test/fixtures/test-out-xml-passing.txt @@ -1,12 +1,8 @@ - - - + - - - +