diff options
| author | Lars Ingebrigtsen | 2022-04-23 18:37:27 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-04-23 18:37:27 +0200 |
| commit | fc00ecfce8852b0326c16d8a9f0ef2186e563435 (patch) | |
| tree | 1258440c17cf2c23372731b2210621b38b226174 /test | |
| parent | e00edf20e7d13277781712c5bbcec7b34f3a829e (diff) | |
| download | emacs-fc00ecfce8852b0326c16d8a9f0ef2186e563435.tar.gz emacs-fc00ecfce8852b0326c16d8a9f0ef2186e563435.zip | |
Fix elc.gz loading test some more
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/files-tests.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el index 1633f3b34cf..7d17fbde672 100644 --- a/test/lisp/files-tests.el +++ b/test/lisp/files-tests.el | |||
| @@ -1844,6 +1844,7 @@ Prompt users for any modified buffer with `buffer-offer-save' non-nil." | |||
| 1844 | (should (documentation 'zot)) | 1844 | (should (documentation 'zot)) |
| 1845 | 1845 | ||
| 1846 | (byte-compile-file el) | 1846 | (byte-compile-file el) |
| 1847 | (fmakunbound 'foo) | ||
| 1847 | (should (load (concat pref ".elc") t)) | 1848 | (should (load (concat pref ".elc") t)) |
| 1848 | (should (fboundp 'foo)) | 1849 | (should (fboundp 'foo)) |
| 1849 | (should (documentation 'foo)) | 1850 | (should (documentation 'foo)) |
| @@ -1851,6 +1852,7 @@ Prompt users for any modified buffer with `buffer-offer-save' non-nil." | |||
| 1851 | (should (documentation 'zot)) | 1852 | (should (documentation 'zot)) |
| 1852 | 1853 | ||
| 1853 | (dired-compress-file (concat pref ".elc")) | 1854 | (dired-compress-file (concat pref ".elc")) |
| 1855 | (fmakunbound 'foo) | ||
| 1854 | (should (load (concat pref ".elc.gz") t)) | 1856 | (should (load (concat pref ".elc.gz") t)) |
| 1855 | (should (fboundp 'foo)) | 1857 | (should (fboundp 'foo)) |
| 1856 | ;; This fails due to bug#12598. | 1858 | ;; This fails due to bug#12598. |