[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/bind-key 634ceb75c0 1/4: Remove tests lacking a copyrig
From: |
ELPA Syncer |
Subject: |
[elpa] externals/bind-key 634ceb75c0 1/4: Remove tests lacking a copyright assignment for now |
Date: |
Sun, 27 Nov 2022 17:57:19 -0500 (EST) |
branch: externals/bind-key
commit 634ceb75c05a849afdc4d29278b4d666a6fbe9ad
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Remove tests lacking a copyright assignment for now
* use-package-tests.el (use-package-test/pre-post-hooks-with-:config)
(use-package-test/pre-post-hooks-without-:config): Remove tests.
---
use-package-tests.el | 31 -------------------------------
1 file changed, 31 deletions(-)
diff --git a/use-package-tests.el b/use-package-tests.el
index ac3dce2c02..b66b08ec11 100644
--- a/use-package-tests.el
+++ b/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)))