diff options
| author | Glenn Morris | 2020-06-07 09:03:59 -0700 |
|---|---|---|
| committer | Glenn Morris | 2020-06-07 09:03:59 -0700 |
| commit | fa6d56529f9ebaedaf62ecbf8887ffecca7dce12 (patch) | |
| tree | 922e12ffbf813534647a96788b9a5fb77b4f2288 /test/src | |
| parent | 6cb557e7a58d7f1c2e9afceeba45d0ced2aff214 (diff) | |
| parent | 35661ef943d261f6c43e93e475ddd8516f4a4b62 (diff) | |
| download | emacs-fa6d56529f9ebaedaf62ecbf8887ffecca7dce12.tar.gz emacs-fa6d56529f9ebaedaf62ecbf8887ffecca7dce12.zip | |
Merge from origin/emacs-27
35661ef943 (origin/emacs-27) Fix typo in "(elisp) Type Keywords"
1af0e95fec Gnus nnir-summary-line-format has no effect
dd366b5d3b Improve documentation of 'window-text-pixel-size'
fbd49f969e * src/xdisp.c (Fwindow_text_pixel_size): Doc fix. (Bug#41...
d8593fd19f Minor improvements to EDE and EIEIO manuals
3916e63f9e Have Fido mode also imitate Ido mode in ignore-case options
cc35b197c7 Update package-menu-quick-help
bf09106256 Improve documentation of 'sort-subr'
73749efa13 Update Ukrainian transliteration
30a7ee505a Fix Arabic shaping when eww/shr fill the text to be rendered
7d323f07c0 Silence some byte-compiler warnings in tests
cf473e742f * test/lisp/battery-tests.el: New file.
b07e3b1d97 Improve format-spec documentation (bug#41571)
# Conflicts:
# test/lisp/emacs-lisp/package-tests.el
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/buffer-tests.el | 1 | ||||
| -rw-r--r-- | test/src/data-tests.el | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/src/buffer-tests.el b/test/src/buffer-tests.el index 6e9764625a9..0db66f97517 100644 --- a/test/src/buffer-tests.el +++ b/test/src/buffer-tests.el | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | ;;; Code: | 20 | ;;; Code: |
| 21 | 21 | ||
| 22 | (require 'ert) | 22 | (require 'ert) |
| 23 | (require 'seq) | ||
| 23 | (eval-when-compile (require 'cl-lib)) | 24 | (eval-when-compile (require 'cl-lib)) |
| 24 | 25 | ||
| 25 | (ert-deftest overlay-modification-hooks-message-other-buf () | 26 | (ert-deftest overlay-modification-hooks-message-other-buf () |
diff --git a/test/src/data-tests.el b/test/src/data-tests.el index 3cebb3dfa57..ed092039078 100644 --- a/test/src/data-tests.el +++ b/test/src/data-tests.el | |||
| @@ -174,7 +174,7 @@ most-positive-fixnum, which is just less than a power of 2.") | |||
| 174 | sum 1)) | 174 | sum 1)) |
| 175 | 175 | ||
| 176 | (defun test-bool-vector-bv-from-hex-string (desc) | 176 | (defun test-bool-vector-bv-from-hex-string (desc) |
| 177 | (let (bv nchars nibbles) | 177 | (let (bv nibbles) |
| 178 | (dolist (c (string-to-list desc)) | 178 | (dolist (c (string-to-list desc)) |
| 179 | (push (string-to-number | 179 | (push (string-to-number |
| 180 | (char-to-string c) | 180 | (char-to-string c) |
| @@ -244,9 +244,9 @@ comparing the subr with a much slower lisp implementation." | |||
| 244 | 244 | ||
| 245 | (defun test-bool-vector-apply-mock-op (mock a b c) | 245 | (defun test-bool-vector-apply-mock-op (mock a b c) |
| 246 | "Compute (slowly) the correct result of a bool-vector set operation." | 246 | "Compute (slowly) the correct result of a bool-vector set operation." |
| 247 | (let (changed nv) | 247 | (let (changed) |
| 248 | (cl-assert (eql (length b) (length c))) | 248 | (cl-assert (eql (length b) (length c))) |
| 249 | (if a (setf nv a) | 249 | (unless a |
| 250 | (setf a (make-bool-vector (length b) nil)) | 250 | (setf a (make-bool-vector (length b) nil)) |
| 251 | (setf changed t)) | 251 | (setf changed t)) |
| 252 | 252 | ||