emacs/test/lisp/emacs-lisp/package-resources/with-nil-entry/archive-contents
Stefan Kangas 0e6f4628d8 Don't try to add nil packages on refresh
* lisp/emacs-lisp/package.el (package-read-archive-contents): Don't
try to add nil entries.  Warn instead.  (Bug#28502)
* test/lisp/emacs-lisp/package-tests.el
(package-test-update-archives/ignore-nil-entry): New test.
* test/lisp/emacs-lisp/package-resources/with-nil-entry/archive-contents:
New file.
2019-10-21 00:00:36 +02:00

8 lines
117 B
Text

(1
(foo .
[(1 0)
nil "foo package" single])
nil
(bar .
[(1 0)
nil "bar package" single]))