mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
14 lines
373 B
JavaScript
14 lines
373 B
JavaScript
|
// https://github.com/isaacs/sax-js/issues/47
|
||
|
require(__dirname).test
|
||
|
( { xml : '<a href="query.svc?x=1&y=2&z=3"/>'
|
||
|
, expect : [
|
||
|
[ "attribute", { name:'href', value:"query.svc?x=1&y=2&z=3"} ],
|
||
|
[ "opentag", { name: "a", attributes: { href:"query.svc?x=1&y=2&z=3"} } ],
|
||
|
[ "closetag", "a" ]
|
||
|
]
|
||
|
, strict : true
|
||
|
, opt : {}
|
||
|
}
|
||
|
)
|
||
|
|