mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
Update test/test.el to match current el-get expectations. 3 test passes.
This commit is contained in:
parent
9b810aa9a4
commit
bed23e1be6
|
@ -60,7 +60,8 @@
|
|||
(el-get-sources `((:name ,pkg
|
||||
:features (,pkg)
|
||||
:type http
|
||||
:url ,(concat "file://" pkg-source)))))
|
||||
:url ,(concat "file://" pkg-source))))
|
||||
(el-get-packages (mapcar 'el-get-source-name el-get-sources)))
|
||||
(make-directory el-get-dir t)
|
||||
(unwind-protect
|
||||
(progn
|
||||
|
@ -75,7 +76,7 @@
|
|||
(should-not (zerop (nth 7 (file-attributes pkg-source))))
|
||||
(message "Installing %s" pkg)
|
||||
(should (progn
|
||||
(el-get 'sync el-get-sources)
|
||||
(el-get 'sync el-get-packages)
|
||||
t))
|
||||
(message "Verifying installed package file %s" pkg-destination)
|
||||
(should (file-exists-p pkg-destination))
|
||||
|
|
Loading…
Reference in New Issue
Block a user