4
0
mirror of https://github.com/apache/cordova-android.git synced 2025-04-07 15:23:09 +08:00
2016-02-24 09:50:07 -08:00

11 lines
285 B
JavaScript

require(__dirname).test({
xml : "<r><![CDATA[ this is character data  ]]></r>",
expect : [
["opentag", {"name": "R","attributes": {}}],
["opencdata", undefined],
["cdata", " this is character data  "],
["closecdata", undefined],
["closetag", "R"]
]
});