diff options
Diffstat (limited to 'test/src/fns-tests.el')
| -rw-r--r-- | test/src/fns-tests.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/fns-tests.el b/test/src/fns-tests.el index f1faf58659a..400e9126486 100644 --- a/test/src/fns-tests.el +++ b/test/src/fns-tests.el | |||
| @@ -895,3 +895,9 @@ | |||
| 895 | ;; This does not test randomness; it's merely a format check. | 895 | ;; This does not test randomness; it's merely a format check. |
| 896 | (should (string-match "\\`[0-9a-f]\\{128\\}\\'" | 896 | (should (string-match "\\`[0-9a-f]\\{128\\}\\'" |
| 897 | (secure-hash 'sha512 'iv-auto 100)))) | 897 | (secure-hash 'sha512 'iv-auto 100)))) |
| 898 | |||
| 899 | (ert-deftest test-vector-delete () | ||
| 900 | (let ((v1 (make-vector 1000 1))) | ||
| 901 | (should (equal (delete t [nil t]) [nil])) | ||
| 902 | (should (equal (delete 1 v1) (vector))) | ||
| 903 | (should (equal (delete 2 v1) v1)))) | ||