diff options
| author | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
| commit | f0f8d7b82492e741950c363a03b886965c91b1b0 (patch) | |
| tree | 19b716830b1ebabc0d7d75949c4e6800c0f104ad /test/src/fns-tests.el | |
| parent | 9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff) | |
| parent | c818c29771d3cb51875643b2f6c894073e429dd2 (diff) | |
| download | emacs-feature/native-comp-macos-fixes.tar.gz emacs-feature/native-comp-macos-fixes.zip | |
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
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)))) | ||