diff options
| author | Joe Wreschnig | 2017-07-02 17:45:26 +0200 |
|---|---|---|
| committer | Joe Wreschnig | 2017-07-02 17:45:26 +0200 |
| commit | 7eec86f5cd98cf9a40795b9607111d8671e63ae2 (patch) | |
| tree | 48088ea69d78cdbae1d7c973ee6d480230ed9505 /test | |
| parent | 4b8b850cf0d814bda1e39d8ea276d8e93938d573 (diff) | |
| download | emacs-7eec86f5cd98cf9a40795b9607111d8671e63ae2.tar.gz emacs-7eec86f5cd98cf9a40795b9607111d8671e63ae2.zip | |
Allow :major as the third argument in :delight calls
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/use-package/use-package-tests.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lisp/use-package/use-package-tests.el b/test/lisp/use-package/use-package-tests.el index ababfe0d5b2..625e95ca587 100644 --- a/test/lisp/use-package/use-package-tests.el +++ b/test/lisp/use-package/use-package-tests.el | |||
| @@ -58,9 +58,11 @@ | |||
| 58 | (use-package-normalize/:delight 'foo-mode :delight nil))) | 58 | (use-package-normalize/:delight 'foo-mode :delight nil))) |
| 59 | (should (equal `((bar-mode nil foo)) | 59 | (should (equal `((bar-mode nil foo)) |
| 60 | (use-package-normalize/:delight 'foo :delight '(bar-mode)))) | 60 | (use-package-normalize/:delight 'foo :delight '(bar-mode)))) |
| 61 | (should (equal `((bar-mode nil :major)) | ||
| 62 | (use-package-normalize/:delight 'foo :delight '((bar-mode nil :major))))) | ||
| 61 | (should (equal `((foo-mode "abc" foo)) | 63 | (should (equal `((foo-mode "abc" foo)) |
| 62 | (use-package-normalize/:delight 'foo :delight '("abc")))) | 64 | (use-package-normalize/:delight 'foo :delight '("abc")))) |
| 63 | (should (equal `((foo-mode '(:eval 1) foo)) | 65 | (should (equal `((foo-mode (:eval 1) foo)) |
| 64 | (use-package-normalize/:delight 'foo :delight '('(:eval 1))))) | 66 | (use-package-normalize/:delight 'foo :delight '('(:eval 1))))) |
| 65 | (should (equal `((a-mode nil foo) | 67 | (should (equal `((a-mode nil foo) |
| 66 | (b-mode " b" foo)) | 68 | (b-mode " b" foo)) |