diff options
author | Thanos Apollo <[email protected]> | 2023-09-29 23:54:34 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-09-29 23:54:34 +0300 |
commit | 0ee00fd00e804409842e99bb37d623255afe1d57 (patch) | |
tree | 5cbbe1ffd3abfe5cbab3119bbde69be7a5621491 /test/yeetube-tests.el | |
parent | 4431a7a1d214390c426f17ed43d997b97edb9828 (diff) | |
parent | f21f1f3b76ed30340451040ced1fe4665fa586d6 (diff) |
Merge fixes from branch 'master' into dev
- Remove duplicate formatting
- Remove extra lines in yeetube-buffer
- Remove obsolete functions from keymap
Diffstat (limited to 'test/yeetube-tests.el')
-rw-r--r-- | test/yeetube-tests.el | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/yeetube-tests.el b/test/yeetube-tests.el deleted file mode 100644 index ee7fb6a..0000000 --- a/test/yeetube-tests.el +++ /dev/null @@ -1,32 +0,0 @@ -;;; Code: -(load-file "../yeetube.el") - -(setq package-archives '(("melpa" . "https://melpa.org/packages/") - ("elpa" . "https://elpa.gnu.org/packages/") - ("nongnu" . "https://elpa.nongnu.org/nongnu/"))) -(package-initialize) - -(unless package-archive-contents - (package-refresh-contents)) - -(require 'ert) -(require 'yeetube) - - -(package-install 'package-lint) -(require 'package-lint) - - -(ert-deftest test-is-youtube? () - (should (equal (yeetube-youtube-p "youtube.com") t)) - (should (equal (yeetube-youtube-p "localhost") nil)) - (should (equal (yeetube-youtube-p "yewtu.be") nil))) - -(ert-deftest test-package-lint () - (let ((package-lint-errors (package-lint-buffer (find-file-noselect "../yeetube.el")))) - (should (equal package-lint-errors nil)))) - -(ert-run-tests-batch-and-exit) - -(provide 'yeetube-tests) -;;; yeetube-tests.el ends here |