diff options
| author | Paul Eggert | 2019-12-10 20:04:36 -0800 |
|---|---|---|
| committer | Paul Eggert | 2019-12-10 20:05:49 -0800 |
| commit | b0f20651e3cbb8a66f11ffae4c18634019c20cd4 (patch) | |
| tree | 067bcb8fa529b4afee6d189f409faf16bd437810 /test/src | |
| parent | 0940296ebe56ebdf9c32e94191d4f0b18006a910 (diff) | |
| download | emacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.tar.gz emacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.zip | |
; Spelling fixes
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/buffer-tests.el | 6 | ||||
| -rw-r--r-- | test/src/fns-tests.el | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/src/buffer-tests.el b/test/src/buffer-tests.el index 5fd37520f70..3a9b43ec4ee 100644 --- a/test/src/buffer-tests.el +++ b/test/src/buffer-tests.el | |||
| @@ -565,7 +565,7 @@ with parameters from the *Messages* buffer modification." | |||
| 565 | (deftest-previous-overlay-change-1 o 25 20 (30 30) (20 30)) | 565 | (deftest-previous-overlay-change-1 o 25 20 (30 30) (20 30)) |
| 566 | (deftest-previous-overlay-change-1 p 30 20 (20 20) (20 30)) | 566 | (deftest-previous-overlay-change-1 p 30 20 (20 20) (20 30)) |
| 567 | (deftest-previous-overlay-change-1 q 40 30 (20 20) (20 30)) | 567 | (deftest-previous-overlay-change-1 q 40 30 (20 20) (20 30)) |
| 568 | ;; 1 empty, 1 non-empty, intersectig in the middle | 568 | ;; 1 empty, 1 non-empty, intersecting in the middle |
| 569 | (deftest-previous-overlay-change-1 r 10 1 (25 25) (20 30)) | 569 | (deftest-previous-overlay-change-1 r 10 1 (25 25) (20 30)) |
| 570 | (deftest-previous-overlay-change-1 s 20 1 (25 25) (20 30)) | 570 | (deftest-previous-overlay-change-1 s 20 1 (25 25) (20 30)) |
| 571 | (deftest-previous-overlay-change-1 t 25 20 (25 25) (20 30)) | 571 | (deftest-previous-overlay-change-1 t 25 20 (25 25) (20 30)) |
| @@ -969,7 +969,7 @@ with parameters from the *Messages* buffer modification." | |||
| 969 | (should (= 25 (overlay-start right))) | 969 | (should (= 25 (overlay-start right))) |
| 970 | (should (= 75 (overlay-end right))) | 970 | (should (= 75 (overlay-end right))) |
| 971 | ;; Try to detect the error, by removing left. The should fail | 971 | ;; Try to detect the error, by removing left. The should fail |
| 972 | ;; an eassert, since it won't be found by a reular tree | 972 | ;; an eassert, since it won't be found by a regular tree |
| 973 | ;; traversal - in theory. | 973 | ;; traversal - in theory. |
| 974 | (delete-overlay left) | 974 | (delete-overlay left) |
| 975 | (should (= 2 (length (overlays-in 1 (point-max)))))))) | 975 | (should (= 2 (length (overlays-in 1 (point-max)))))))) |
| @@ -1045,7 +1045,7 @@ with parameters from the *Messages* buffer modification." | |||
| 1045 | ;; | make-indirect-buffer | 1045 | ;; | make-indirect-buffer |
| 1046 | ;; +==========================================================================+ | 1046 | ;; +==========================================================================+ |
| 1047 | 1047 | ||
| 1048 | ;; Check if overlays are cloned/seperate from indirect buffer. | 1048 | ;; Check if overlays are cloned/separate from indirect buffer. |
| 1049 | (ert-deftest test-make-indirect-buffer-1 () | 1049 | (ert-deftest test-make-indirect-buffer-1 () |
| 1050 | (with-temp-buffer | 1050 | (with-temp-buffer |
| 1051 | (dotimes (_ 10) (make-overlay 1 1)) | 1051 | (dotimes (_ 10) (make-overlay 1 1)) |
diff --git a/test/src/fns-tests.el b/test/src/fns-tests.el index 93f7f63847f..bcc652a8053 100644 --- a/test/src/fns-tests.el +++ b/test/src/fns-tests.el | |||
| @@ -269,7 +269,7 @@ | |||
| 269 | (should (equal (base64-encode-string "\x14\xfb\x9c\x03\xd9\x7f") "FPucA9l/"))) | 269 | (should (equal (base64-encode-string "\x14\xfb\x9c\x03\xd9\x7f") "FPucA9l/"))) |
| 270 | 270 | ||
| 271 | (ert-deftest fns-test-base64url-encode-region () | 271 | (ert-deftest fns-test-base64url-encode-region () |
| 272 | ;; url variant wih padding | 272 | ;; url variant with padding |
| 273 | (should (equal (fns-tests--with-region base64url-encode-region "") "")) | 273 | (should (equal (fns-tests--with-region base64url-encode-region "") "")) |
| 274 | (should (equal (fns-tests--with-region base64url-encode-region "f") "Zg==")) | 274 | (should (equal (fns-tests--with-region base64url-encode-region "f") "Zg==")) |
| 275 | (should (equal (fns-tests--with-region base64url-encode-region "fo") "Zm8=")) | 275 | (should (equal (fns-tests--with-region base64url-encode-region "fo") "Zm8=")) |
| @@ -311,7 +311,7 @@ | |||
| 311 | (fns-tests--string-repeat "FPucA9l_" 10)))) | 311 | (fns-tests--string-repeat "FPucA9l_" 10)))) |
| 312 | 312 | ||
| 313 | (ert-deftest fns-test-base64url-encode-string () | 313 | (ert-deftest fns-test-base64url-encode-string () |
| 314 | ;; url variant wih padding | 314 | ;; url variant with padding |
| 315 | (should (equal (base64url-encode-string "") "")) | 315 | (should (equal (base64url-encode-string "") "")) |
| 316 | (should (equal (base64url-encode-string "f") "Zg==")) | 316 | (should (equal (base64url-encode-string "f") "Zg==")) |
| 317 | (should (equal (base64url-encode-string "fo") "Zm8=")) | 317 | (should (equal (base64url-encode-string "fo") "Zm8=")) |
| @@ -356,7 +356,7 @@ | |||
| 356 | (should (equal (base64-decode-string "FPucA9l+") "\x14\xfb\x9c\x03\xd9\x7e")) | 356 | (should (equal (base64-decode-string "FPucA9l+") "\x14\xfb\x9c\x03\xd9\x7e")) |
| 357 | (should (equal (base64-decode-string "FPucA9l/") "\x14\xfb\x9c\x03\xd9\x7f")) | 357 | (should (equal (base64-decode-string "FPucA9l/") "\x14\xfb\x9c\x03\xd9\x7f")) |
| 358 | 358 | ||
| 359 | ;; no paddign | 359 | ;; no padding |
| 360 | (should (equal (base64-decode-string "" t) "")) | 360 | (should (equal (base64-decode-string "" t) "")) |
| 361 | (should (equal (base64-decode-string "Zg" t) "f")) | 361 | (should (equal (base64-decode-string "Zg" t) "f")) |
| 362 | (should (equal (base64-decode-string "Zm8" t) "fo")) | 362 | (should (equal (base64-decode-string "Zm8" t) "fo")) |
| @@ -365,7 +365,7 @@ | |||
| 365 | (should (equal (base64-decode-string "Zm9vYmE" t) "fooba")) | 365 | (should (equal (base64-decode-string "Zm9vYmE" t) "fooba")) |
| 366 | (should (equal (base64-decode-string "Zm9vYmFy" t) "foobar")) | 366 | (should (equal (base64-decode-string "Zm9vYmFy" t) "foobar")) |
| 367 | 367 | ||
| 368 | ;; url variant wih padding | 368 | ;; url variant with padding |
| 369 | (should (equal (base64-decode-string "") "")) | 369 | (should (equal (base64-decode-string "") "")) |
| 370 | (should (equal (base64-decode-string "Zg==" t) "f") ) | 370 | (should (equal (base64-decode-string "Zg==" t) "f") ) |
| 371 | (should (equal (base64-decode-string "Zm8=" t) "fo")) | 371 | (should (equal (base64-decode-string "Zm8=" t) "fo")) |