diff options
author | Thanos Apollo <[email protected]> | 2023-09-29 10:19:50 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-09-29 10:19:50 +0300 |
commit | f21f1f3b76ed30340451040ced1fe4665fa586d6 (patch) | |
tree | 3c629130c5799c0799cb6d7255a230b37c0b7927 | |
parent | bc6ce90e0f7b20fe27f5e2b309622cd225e45578 (diff) |
remove tests
-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 |