Add zunit file template & file extension

This commit is contained in:
Henrik Lissner 2017-10-06 02:35:26 +02:00
parent b0c26ea4dd
commit 1e95dc530a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 8 additions and 1 deletions

View file

@ -106,5 +106,6 @@
;; Slim
("/\\(index\\|main\\)\\.slim$" "__" slim-mode)
;; Shell scripts
("\\.z?sh$" "__" sh-mode))))
("\\.z?sh$" "__" sh-mode)
("\\.zunit$" "__zunit" sh-mode))))

View file

@ -0,0 +1,5 @@
#!/usr/bin/env zunit
@test '...' {
$0
}