summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-09-29 10:19:50 +0300
committerThanos Apollo <[email protected]>2023-09-29 10:19:50 +0300
commitf21f1f3b76ed30340451040ced1fe4665fa586d6 (patch)
tree3c629130c5799c0799cb6d7255a230b37c0b7927 /test
parentbc6ce90e0f7b20fe27f5e2b309622cd225e45578 (diff)
remove tests
Diffstat (limited to 'test')
-rw-r--r--test/yeetube-tests.el32
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