* test/automated/fns-tests.el (fns-tests-compare-strings): Update test.

This commit is contained in:
Glenn Morris 2014-08-02 16:22:31 -04:00
parent d6c17223fe
commit 3865ce6754
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2014-08-02 Glenn Morris <rgm@gnu.org>
* automated/fns-tests.el (fns-tests-compare-strings):
Update test. (Bug#17903)
* automated/icalendar-tests.el (icalendar--decode-isodatetime):
Use more precise TZ specification, as per 2013-08-04.

View file

@ -73,7 +73,7 @@
(ert-deftest fns-tests-compare-strings ()
(should-error (compare-strings))
(should-error (compare-strings "xyzzy" "xyzzy"))
(should-error (compare-strings "xyzzy" 0 10 "zyxxy" 0 5))
(should (= (compare-strings "xyzzy" 0 10 "zyxxy" 0 5) -1))
(should-error (compare-strings "xyzzy" 0 5 "zyxxy" -1 2))
(should-error (compare-strings "xyzzy" 'foo nil "zyxxy" 0 1))
(should-error (compare-strings "xyzzy" 0 'foo "zyxxy" 2 3))