mirror of
https://github.com/vale981/boon
synced 2025-03-05 09:31:43 -05:00
29 lines
788 B
EmacsLisp
29 lines
788 B
EmacsLisp
(setq package-archives '(("melpa-stable" . "http://stable.melpa.org/packages/")))
|
|
(package-initialize)
|
|
|
|
(list-packages)
|
|
(package-install 'multiple-cursors)
|
|
(package-install 'dash)
|
|
(package-install 'expand-region)
|
|
|
|
(package-activate 'multiple-cursors)
|
|
(package-activate 'dash)
|
|
(package-activate 'expand-region)
|
|
|
|
(add-to-list 'load-path default-directory)
|
|
|
|
(ert-deftest boon-open-next-line-and-insert-at-buffer-end ()
|
|
(should (string=
|
|
"first-line\n\n"
|
|
(with-temp-buffer
|
|
(insert "first-line")
|
|
(goto-char 5)
|
|
(boon-open-next-line-and-insert)
|
|
(buffer-substring-no-properties 1 (point-max))))))
|
|
|
|
(setq byte-compile-error-on-warn t)
|
|
|
|
(and
|
|
(byte-compile-file "boon.el")
|
|
(require 'boon)
|
|
(ert-run-tests-batch-and-exit))
|