diff --git a/Tests/XMLCoderTests/Auxiliary/XMLStackParserTests.swift b/Tests/XMLCoderTests/Auxiliary/XMLStackParserTests.swift
index aa1d5937..82b697d0 100644
--- a/Tests/XMLCoderTests/Auxiliary/XMLStackParserTests.swift
+++ b/Tests/XMLCoderTests/Auxiliary/XMLStackParserTests.swift
@@ -12,7 +12,13 @@ class XMLStackParserTests: XCTestCase {
func testParseWith() throws {
let parser = _XMLStackParser()
- let xmlString = "42"
+ let xmlString =
+ """
+
+ 42
+
+
+ """
let xmlData = xmlString.data(using: .utf8)!
let root: _XMLElement? = try parser.parse(with: xmlData,
@@ -27,6 +33,12 @@ class XMLStackParserTests: XCTestCase {
value: "42"
),
],
+ "data": [
+ _XMLElement(
+ key: "data",
+ value: "lorem ipsum"
+ ),
+ ],
]
)
XCTAssertEqual(root, expected)