summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Maus <dmaus@ictsoc.de>2011-09-18 16:40:01 +0200
committerDavid Maus <dmaus@ictsoc.de>2011-09-18 16:40:01 +0200
commit56de2cf7a623e9d9032bd9796aac0049b1d35f77 (patch)
tree6315cf0d947faa838f2c0b98fef4b30ae953b98c
parentee957745db70c16aefbcaf12962aed0c1e2981f1 (diff)
downloadorg-mode-56de2cf7a623e9d9032bd9796aac0049b1d35f77.tar.gz
Explicitely set coding system for unescaped string
* test-org.el (test-org/org-link-unescape-ascii-extended-char): Explicitely set coding system for unescaped string. Needed for Emacs22 to pass these tests. The input string is extended ASCII which is covered by latin-1 coding system.
-rw-r--r--testing/lisp/test-org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el
index 1c81fac..00ccd81 100644
--- a/testing/lisp/test-org.el
+++ b/testing/lisp/test-org.el
@@ -82,7 +82,7 @@
(should
(string=
"àâçèéêîôùû"
- (org-link-unescape "%E0%E2%E7%E8%E9%EA%EE%F4%F9%FB"))))
+ (decode-coding-string (org-link-unescape "%E0%E2%E7%E8%E9%EA%EE%F4%F9%FB") 'latin-1))))
(ert-deftest test-org/org-link-escape-url-with-escaped-char ()
"Escape and unscape a URL that includes an escaped char.