Mercurial > hg > xemacs-beta
diff tests/automated/lisp-tests.el @ 5036:9624523604c5
Use better types when ESCAPECHAR is specified, split_string_by_ichar_1
src/ChangeLog addition:
2010-02-19 Aidan Kehoe <kehoea@parhasard.net>
* fns.c (split_string_by_ichar_1):
Use better types (e.g., not an Ichar for a buffer size) in this
function when dealing with ESCAPECHAR.
tests/ChangeLog addition:
2010-02-19 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el:
Change the #'split-string-by-char text to use US federal
government information instead of a couple of sentences from the
OED; the latter would probably have qualified as non-infringement,
but with the former the question won't arise.
(The German text in the same tests is from a very public domain
19th-century work.)
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Fri, 19 Feb 2010 23:46:53 +0000 |
parents | b1e48555be7d |
children | 0f66906b6e37 |
line wrap: on
line diff
--- a/tests/automated/lisp-tests.el Sun Feb 07 12:24:03 2010 +0000 +++ b/tests/automated/lisp-tests.el Fri Feb 19 23:46:53 2010 +0000 @@ -1088,20 +1088,20 @@ bisherige Quellenzufluß versiegt oder abgeleitet wird. Aus dem Wasser, worüber der Geist Gottes schwebte, wird Sumpf und Moder, worüber die unreinen\: Geister brüten.\\ -tocopherol -Vitamin E: any or all of a group of closely related fat-soluble compounds -that occur especially in plant oils and are anti-oxidants essential in the -diets of many animals and probably of man. " +Serum concentrations of vitamin E: (alpha-tocopherol) depend on the liver, +which takes up the nutrient after the various forms are absorbed from the +small intestine. The liver preferentially resecretes only alpha-tocopherol +via the hepatic alpha-tocopherol transfer protein" ?: ?\\) '("re:ee" "this\\is\\text\\\\" "oops" " Eine Sprache, die stagnirt, ist zu vergleichen mit einem See, dem der bisherige Quellenzufluß versiegt oder abgeleitet wird. Aus dem Wasser, worüber der Geist Gottes schwebte, wird Sumpf und Moder, worüber die unreinen: Geister brüten.\\ -tocopherol -Vitamin E" " any or all of a group of closely related fat-soluble compounds -that occur especially in plant oils and are anti-oxidants essential in the -diets of many animals and probably of man. "))) +Serum concentrations of vitamin E" " (alpha-tocopherol) depend on the liver, +which takes up the nutrient after the various forms are absorbed from the +small intestine. The liver preferentially resecretes only alpha-tocopherol +via the hepatic alpha-tocopherol transfer protein"))) (Assert (equal (split-string-by-char @@ -1110,20 +1110,20 @@ bisherige Quellenzufluß versiegt oder abgeleitet wird. Aus dem Wasser, worüber der Geist Gottes schwebte, wird Sumpf und Moder, worüber die unreinen\: Geister brüten.\\ -tocopherol -Vitamin E: any or all of a group of closely related fat-soluble compounds -that occur especially in plant oils and are anti-oxidants essential in the -diets of many animals and probably of man. " +Serum concentrations of vitamin E: (alpha-tocopherol) depend on the liver, +which takes up the nutrient after the various forms are absorbed from the +small intestine. The liver preferentially resecretes only alpha-tocopherol +via the hepatic alpha-tocopherol transfer protein" ?: ?\x00) '("re\\" "ee" "this\\\\is\\\\text\\\\\\\\" "oo\\ps" " Eine Sprache, die stagnirt, ist zu vergleichen mit einem See, dem der bisherige Quellenzufluß versiegt oder abgeleitet wird. Aus dem Wasser, worüber der Geist Gottes schwebte, wird Sumpf und Moder, worüber die unreinen\\" " Geister brüten.\\\\ -tocopherol -Vitamin E" " any or all of a group of closely related fat-soluble compounds -that occur especially in plant oils and are anti-oxidants essential in the -diets of many animals and probably of man. "))) +Serum concentrations of vitamin E" " (alpha-tocopherol) depend on the liver, +which takes up the nutrient after the various forms are absorbed from the +small intestine. The liver preferentially resecretes only alpha-tocopherol +via the hepatic alpha-tocopherol transfer protein"))) (Assert (equal (split-string-by-char @@ -1132,19 +1132,19 @@ bisherige Quellenzufluß versiegt oder abgeleitet wird. Aus dem Wasser, worüber der Geist Gottes schwebte, wird Sumpf und Moder, worüber die unreinen\: Geister brüten.\\ -tocopherol -Vitamin E: any or all of a group of closely related fat-soluble compounds -that occur especially in plant oils and are anti-oxidants essential in the -diets of many animals and probably of man. " ?\\) +Serum concentrations of vitamin E: (alpha-tocopherol) depend on the liver, +which takes up the nutrient after the various forms are absorbed from the +small intestine. The liver preferentially resecretes only alpha-tocopherol +via the hepatic alpha-tocopherol transfer protein" ?\\) '("re" ":ee:this" "" "is" "" "text" "" "" "" ":oo" "ps: Eine Sprache, die stagnirt, ist zu vergleichen mit einem See, dem der bisherige Quellenzufluß versiegt oder abgeleitet wird. Aus dem Wasser, worüber der Geist Gottes schwebte, wird Sumpf und Moder, worüber die unreinen" ": Geister brüten." "" " -tocopherol -Vitamin E: any or all of a group of closely related fat-soluble compounds -that occur especially in plant oils and are anti-oxidants essential in the -diets of many animals and probably of man. "))) +Serum concentrations of vitamin E: (alpha-tocopherol) depend on the liver, +which takes up the nutrient after the various forms are absorbed from the +small intestine. The liver preferentially resecretes only alpha-tocopherol +via the hepatic alpha-tocopherol transfer protein"))) ;;----------------------------------------------------- ;; Test near-text buffer functions.