changeset 4861:1f3ed6288996

get make check working again -------------------- ChangeLog entries follow: -------------------- tests/ChangeLog addition: 2010-01-14 Ben Wing <ben@xemacs.org> * automated/mule-tests.el (featurep): Accidentally included changes from Unicode-internal ws that broke things.
author Ben Wing <ben@xemacs.org>
date Thu, 14 Jan 2010 06:08:55 -0600
parents edc0cd26b4a8
children 7ac51121843b db9f7328bee1
files tests/ChangeLog tests/automated/mule-tests.el
diffstat 2 files changed, 13 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/tests/ChangeLog	Thu Jan 14 06:00:09 2010 -0600
+++ b/tests/ChangeLog	Thu Jan 14 06:08:55 2010 -0600
@@ -1,3 +1,9 @@
+2010-01-14  Ben Wing  <ben@xemacs.org>
+
+	* automated/mule-tests.el (featurep):
+	Accidentally included changes from Unicode-internal ws that
+	broke things.
+
 2010-01-14  Ben Wing  <ben@xemacs.org>
 
 	* automated/base64-tests.el (bt-base64-encode-string):
--- a/tests/automated/mule-tests.el	Thu Jan 14 06:00:09 2010 -0600
+++ b/tests/automated/mule-tests.el	Thu Jan 14 06:08:55 2010 -0600
@@ -426,21 +426,18 @@
   ;;---------------------------------------------------------------
   ;; Test Unicode-related functions
   ;;---------------------------------------------------------------
-  (let* ((scaron '(latin-iso8859-2 185)))
+  (let* ((scaron (make-char 'latin-iso8859-2 57)))
     ;; Used to try #x0000, but you can't change ASCII or Latin-1
     (loop
       for code in '(#x0100 #x2222 #x4444 #xffff)
-      with initial-unicode = (unicode-to-charset-codepoint
-			      code '(latin-iso8859-2))
+      with initial-unicode = (char-to-unicode scaron)
       do
       (progn
-	(apply 'set-unicode-conversion code scaron)
-	(Assert-eq code (apply 'charset-codepoint-to-unicode scaron))
-	(Assert-equal scaron (unicode-to-charset-codepoint
-			      code '(latin-iso8859-2)))
-	(apply 'set-unicode-conversion code initial-unicode)))
-    (Check-Error 'invalid-argument (apply 'set-unicode-conversion -10000
-					  scaron)))
+	(set-unicode-conversion scaron code)
+	(Assert-eq code (char-to-unicode scaron))
+	(Assert-eq scaron (unicode-to-char code '(latin-iso8859-2))))
+      finally (set-unicode-conversion scaron initial-unicode))
+    (Check-Error wrong-type-argument (set-unicode-conversion scaron -10000)))
 
   (dolist (utf-8-char 
 	   '("\xc6\x92"		  ;; U+0192 LATIN SMALL LETTER F WITH HOOK