Skip to content

Commit

Permalink
Move emacs tests to subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Sep 18, 2024
1 parent f94912c commit 97b0244
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions emacs/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ NEEDED_PACKAGES="package-lint company iedit auto-complete compat"
ELS_TO_CHECK=*.el
# To reduce the amount of false positives we only package-lint files
# that are actual installable packages.
PKGS_TO_CHECK="merlin.el merlin-ac.el merlin-company.el merlin-iedit.el merlin-cap.el"
PKGS_TO_CHECK="merlin.el merlin-ac.el merlin-company.el merlin-iedit.el merlin-cap.el tests/merlin-cap-test.el"

INIT_PACKAGE_EL="(progn \
(require 'package) \
Expand Down Expand Up @@ -56,5 +56,5 @@ EMACS_PACKAGE_LINT_IGNORE=1
--eval "$INIT_PACKAGE_EL" \
-L . \
--eval "(progn\
(load-file \"merlin-cap-test.el\")\
(load-file \"tests/merlin-cap-test.el\")\
(ert-run-tests-batch-and-exit))"
5 changes: 3 additions & 2 deletions emacs/merlin-cap-test.el → emacs/tests/merlin-cap-test.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; merlin-cap.el --- Merlin and completion-at-point integration -*- coding: utf-8; lexical-binding: t -*-
;;; merlin-cap-test.el --- Merlin and completion-at-point integration -*- coding: utf-8; lexical-binding: t -*-
;; Licensed under the MIT license.

;; Author: Simon Castellan <simon.castellan(_)iuwt.fr>
Expand All @@ -8,6 +8,7 @@
;; Created: 13 Sep 2024
;; Version: 0.1
;; Keywords: ocaml languages
;; Package-Requires: ((emacs "25.1"))
;; URL: http://github.com/ocaml/merlin

;;; Commentary:
Expand Down Expand Up @@ -248,4 +249,4 @@ count in `dotimes'."
(should (equal (merlin-cap--get-completions "Mmaa.") '("Mmbb."))))))

(provide 'merlin-cap-test)
;;; merlin-cap-test.el ends here
;;; merlin-cap-test.el ends here

0 comments on commit 97b0244

Please sign in to comment.