* test/automated/package-x-test.el: Change the commentary.
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 27 Jun 2013 09:51:55 +0000 (13:51 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 27 Jun 2013 09:51:55 +0000 (13:51 +0400)
(package-x-test--single-archive-entry-1-3)
(package-x-test--single-archive-entry-1-4): Fix the tests, by
using the appropriate data structure.

test/ChangeLog
test/automated/package-x-test.el

index b939778..b884c43 100644 (file)
@@ -1,6 +1,9 @@
 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
 
        * automated/package-x-test.el: Change the commentary.
+       (package-x-test--single-archive-entry-1-3)
+       (package-x-test--single-archive-entry-1-4): Fix the tests, by
+       using the appropriate data structure.
 
 2013-06-27  Daniel Hackney  <dan@haxney.org>
 
index dbb8f64..531c5b3 100755 (executable)
   (require 'package-test))
 
 (defvar package-x-test--single-archive-entry-1-3
-  (package-desc-create :name 'simple-single
-                       :version '(1 3)
-                       :summary "A single-file package with no dependencies"
-                       :kind 'single)
+  (cons 'simple-single
+        (package-make-ac-desc '(1 3) nil
+                              "A single-file package with no dependencies"
+                              'single))
   "Expected contents of the archive entry from the \"simple-single\" package.")
 
 (defvar package-x-test--single-archive-entry-1-4
-  (package-desc-create :name 'simple-single
-                       :version '(1 4)
-                       :summary "A single-file package with no dependencies"
-                       :kind 'single)
+  (cons 'simple-single
+        (package-make-ac-desc '(1 4) nil
+                              "A single-file package with no dependencies"
+                              'single))
   "Expected contents of the archive entry from the updated \"simple-single\" package.")
 
 (ert-deftest package-x-test-upload-buffer ()