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.
(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))