summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2022-11-27 14:18:03 -0800
committerGitHub <noreply@github.com>2022-11-27 14:18:03 -0800
commit58cc931e92ece70c3e64131ee12a799d65409100 (patch)
tree53f097f5797390b678896d9fd6b6c16a442115be
parentc74b5c16f8bc699e1f6da1ae33251b0cb63d40f2 (diff)
parent8296164eab91fcb1ff0eb75390691665735419d2 (diff)
downloademacs-58cc931e92ece70c3e64131ee12a799d65409100.tar.gz
Merge pull request from skangas/revert-for-copyright
GitHub-reference: https://github.com/jwiegley/use-package/issues/1026
-rw-r--r--test/lisp/use-package/use-package-tests.el31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/lisp/use-package/use-package-tests.el b/test/lisp/use-package/use-package-tests.el
index ac3dce2c021..b66b08ec117 100644
--- a/test/lisp/use-package/use-package-tests.el
+++ b/test/lisp/use-package/use-package-tests.el
@@ -1505,37 +1505,6 @@
(config)
t))))))
-(ert-deftest use-package-test/pre-post-hooks-with-:config ()
- (let ((use-package-inject-hooks t))
- (match-expansion
- (use-package foo :config (config))
- `(progn
- (when
- (run-hook-with-args-until-failure 'use-package--foo--pre-init-hook)
- (run-hooks 'use-package--foo--post-init-hook))
- (require 'foo nil nil)
- (when
- (run-hook-with-args-until-failure 'use-package--foo--pre-config-hook)
- (config)
- (run-hooks 'use-package--foo--post-config-hook))
- t))))
-
-(ert-deftest use-package-test/pre-post-hooks-without-:config ()
- ;; https://github.com/jwiegley/use-package/issues/785
- (let ((use-package-inject-hooks t))
- (match-expansion
- (use-package foo)
- `(progn
- (when
- (run-hook-with-args-until-failure 'use-package--foo--pre-init-hook)
- (run-hooks 'use-package--foo--post-init-hook))
- (require 'foo nil nil)
- (when
- (run-hook-with-args-until-failure 'use-package--foo--pre-config-hook)
- t
- (run-hooks 'use-package--foo--post-config-hook))
- t))))
-
(ert-deftest use-package-test-normalize/:diminish ()
(should (equal (use-package-normalize-diminish 'foopkg :diminish nil)
'(foopkg-mode)))