Skip to content

Commit

Permalink
Also lint the test file
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Sep 18, 2024
1 parent 0d49438 commit d295663
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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
5 changes: 3 additions & 2 deletions 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 d295663

Please sign in to comment.