[Pkg-javascript-commits] [ltx] 277/469: Test for issue-29

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:03:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ltx.

commit 2146f5643208cf02dfeafbe47c03632f5af1b239
Author: Lloyd Watkin <lloyd at evilprofessor.co.uk>
Date:   Sat Nov 30 20:58:34 2013 +0000

    Test for issue-29
---
 test/unicode-test.js | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/test/unicode-test.js b/test/unicode-test.js
new file mode 100644
index 0000000..00f1bdb
--- /dev/null
+++ b/test/unicode-test.js
@@ -0,0 +1,14 @@
+var vows = require('vows')
+  , assert = require('assert')
+  , Element = require('../lib/element').Element
+
+vows.describe('unicode').addBatch({
+    'unicode forming': {
+        'issue-29': function() {
+            var text = 'Hello ɝ'
+            var element = new Element('iq')
+            element.t(text)
+            assert.equal(element.toString(), '<iq>' + text + '</iq>')
+        }
+    }
+}).export(module)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list