From f21f1f3b76ed30340451040ced1fe4665fa586d6 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 29 Sep 2023 10:19:50 +0300 Subject: remove tests --- test/yeetube-tests.el | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 test/yeetube-tests.el (limited to 'test') 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 -- cgit v1.2.3