Skip to content

Commit

Permalink
refactor: rename template validation test
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed May 16, 2024
1 parent 8d5e508 commit 372ed20
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ _: {
] ++ packageRequires;

checkPhase = ''
output=$(emacs --batch -L . -L test -l magit-file-icons-tests 2> >(grep invalid))
output=$(emacs --batch -L . -L test -l magit-file-icons-validate-templates 2> >(grep invalid))
if [[ $output ]]; then
echo "Failed to validate templates. Output:"
echo "$output"
Expand Down
10 changes: 10 additions & 0 deletions test/magit-file-icons-validate-templates.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
;; -*- lexical-binding: t; -*-

(require 'magit-file-icons)

(el-patch-validate-all-templates)

;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
; End:

0 comments on commit 372ed20

Please sign in to comment.