Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 7429e0bb authored by Ryan C. Thompson's avatar Ryan C. Thompson

Test to make sure a broken recipe raises an error

parent 2c555070
......@@ -9,4 +9,15 @@
;; Install a github-type recipe
(el-get 'sync 'window-layout)
;; Install an emacsmirror-type recipe
(el-get 'sync 'dired-plus))
(el-get 'sync 'dired-plus)
(condition-case err
;; Should fail
(let ((el-get-sources
'((:name broken-pkg
:type github))))
(el-get 'sync 'broken-pkg))
(signal 'test-failure
'("The package\"broken-pkg\" should have caused an error, but it didn't.")))
(error (message "Installing \"broken-pkg\" failed as expected. The error message was: %S" err))))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment