diff options
| author | Glenn Morris | 2014-08-02 16:22:31 -0400 |
|---|---|---|
| committer | Glenn Morris | 2014-08-02 16:22:31 -0400 |
| commit | 3865ce6754d3e2af77ee4df8269b325cef312b3b (patch) | |
| tree | 4a773b44d4ff39c3f6482fa895f1a7c5e8e2f2e5 | |
| parent | d6c17223fe47050708c3162d755fe91b1d6c73e7 (diff) | |
| download | emacs-3865ce6754d3e2af77ee4df8269b325cef312b3b.tar.gz emacs-3865ce6754d3e2af77ee4df8269b325cef312b3b.zip | |
* test/automated/fns-tests.el (fns-tests-compare-strings): Update test.
| -rw-r--r-- | test/ChangeLog | 3 | ||||
| -rw-r--r-- | test/automated/fns-tests.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 144f1078319..f9b410bf600 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2014-08-02 Glenn Morris <rgm@gnu.org> | 1 | 2014-08-02 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * automated/fns-tests.el (fns-tests-compare-strings): | ||
| 4 | Update test. (Bug#17903) | ||
| 5 | |||
| 3 | * automated/icalendar-tests.el (icalendar--decode-isodatetime): | 6 | * automated/icalendar-tests.el (icalendar--decode-isodatetime): |
| 4 | Use more precise TZ specification, as per 2013-08-04. | 7 | Use more precise TZ specification, as per 2013-08-04. |
| 5 | 8 | ||
diff --git a/test/automated/fns-tests.el b/test/automated/fns-tests.el index 461995b602e..d3d921f425f 100644 --- a/test/automated/fns-tests.el +++ b/test/automated/fns-tests.el | |||
| @@ -73,7 +73,7 @@ | |||
| 73 | (ert-deftest fns-tests-compare-strings () | 73 | (ert-deftest fns-tests-compare-strings () |
| 74 | (should-error (compare-strings)) | 74 | (should-error (compare-strings)) |
| 75 | (should-error (compare-strings "xyzzy" "xyzzy")) | 75 | (should-error (compare-strings "xyzzy" "xyzzy")) |
| 76 | (should-error (compare-strings "xyzzy" 0 10 "zyxxy" 0 5)) | 76 | (should (= (compare-strings "xyzzy" 0 10 "zyxxy" 0 5) -1)) |
| 77 | (should-error (compare-strings "xyzzy" 0 5 "zyxxy" -1 2)) | 77 | (should-error (compare-strings "xyzzy" 0 5 "zyxxy" -1 2)) |
| 78 | (should-error (compare-strings "xyzzy" 'foo nil "zyxxy" 0 1)) | 78 | (should-error (compare-strings "xyzzy" 'foo nil "zyxxy" 0 1)) |
| 79 | (should-error (compare-strings "xyzzy" 0 'foo "zyxxy" 2 3)) | 79 | (should-error (compare-strings "xyzzy" 0 'foo "zyxxy" 2 3)) |