aboutsummaryrefslogtreecommitdiff
path: root/node_modules/sax/test/cyrillic.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/sax/test/cyrillic.js')
-rw-r--r--node_modules/sax/test/cyrillic.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/sax/test/cyrillic.js b/node_modules/sax/test/cyrillic.js
new file mode 100644
index 000000000..f05dd1b23
--- /dev/null
+++ b/node_modules/sax/test/cyrillic.js
@@ -0,0 +1,8 @@
+require(__dirname).test({
+ xml: '<Р>тест</Р>',
+ expect: [
+ ['opentag', {'name':'Р', attributes:{}, isSelfClosing: false}],
+ ['text', 'тест'],
+ ['closetag', 'Р']
+ ]
+});