Skip to content

Commit

Permalink
package-test: Update expectations of :required slot format.
Browse files Browse the repository at this point in the history
It will typically be a list of two elements, the hard and soft requirements.
Either one of these can be nil, and if the second is nil, it should be present.

Signed-off-by: Dan Hackney <dan@haxney.org>
  • Loading branch information
haxney committed Jul 13, 2010
1 parent e8a221a commit c2af129
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@
"slime adapter for clojure" single])))
(expect (make-package :name 'htmlize
:version '(1 37)
:required nil
:required '(nil)
:summary "Convert buffer text and decorations to HTML."
:type 'single)
(package-from-version-1
Expand All @@ -921,7 +921,7 @@
nil "Convert buffer text and decorations to HTML." single])))
(expect (make-package :name 'htmlize
:version '(1 37)
:required nil
:required '(nil)
:summary "Convert buffer text and decorations to HTML."
:type 'single
:archive 'builtin)
Expand Down Expand Up @@ -1169,7 +1169,7 @@
:authors (("Joe Bob" . "jbob@example.com"))
:maintainer ("Joe Bob" . "jbob@example.com")
:provided (test-pkg)
:required (((dep-pkg deppy)))
:required (((dep-pkg deppy)) nil)
:keywords ("tools" "libraries")
:homepage "www.example.com"
:wikipage "test-pkg.el"
Expand Down

0 comments on commit c2af129

Please sign in to comment.