diff options
| author | Jorgen Schaefer | 2015-01-16 20:28:26 +0100 |
|---|---|---|
| committer | Jorgen Schaefer | 2015-01-16 20:29:14 +0100 |
| commit | 78e6ccc4a5006272b14f352e459a6d3bf52ed07b (patch) | |
| tree | d8dd1180e73817aa14aad47088a46914ebabd91c | |
| parent | 8db625b6056965fe52e75080950e4ee0ad98bcc6 (diff) | |
| download | emacs-78e6ccc4a5006272b14f352e459a6d3bf52ed07b.tar.gz emacs-78e6ccc4a5006272b14f352e459a6d3bf52ed07b.zip | |
Fix the automated test for package priorities.
* automated/package-test.el (package-test-install-prioritized):
New test.
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rw-r--r-- | test/automated/package-test.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index b3a0494267e..8ed02ee341b 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de> | ||
| 2 | |||
| 3 | * automated/package-test.el (package-test-install-prioritized): | ||
| 4 | New test. | ||
| 5 | |||
| 1 | 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at> | 6 | 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at> |
| 2 | 7 | ||
| 3 | * automated/calc-tests.el (calc-tests-equal, calc-tests-simple): | 8 | * automated/calc-tests.el (calc-tests-equal, calc-tests-simple): |
diff --git a/test/automated/package-test.el b/test/automated/package-test.el index 89e0bc18509..c33a1ba0232 100644 --- a/test/automated/package-test.el +++ b/test/automated/package-test.el | |||
| @@ -243,7 +243,7 @@ Must called from within a `tar-mode' buffer." | |||
| 243 | (package-refresh-contents) | 243 | (package-refresh-contents) |
| 244 | (package-install 'simple-single) | 244 | (package-install 'simple-single) |
| 245 | 245 | ||
| 246 | (let ((installed (cdr (assq 'simple-single package-alist)))) | 246 | (let ((installed (cadr (assq 'simple-single package-alist)))) |
| 247 | (should (version-list-= '(1 3) | 247 | (should (version-list-= '(1 3) |
| 248 | (package-desc-version installed))))))) | 248 | (package-desc-version installed))))))) |
| 249 | 249 | ||