make selflint now covers tests

This commit is contained in:
XeroOl 2025-07-12 16:11:51 -05:00
parent d4c24b00f4
commit 722a3a6089
3 changed files with 2 additions and 2 deletions

View File

@ -64,6 +64,7 @@ deps:
selflint: selflint:
$(FENNEL) $(FENNELFLAGS) src/fennel-ls.fnl --lint $(SRC) $(FENNEL) $(FENNELFLAGS) src/fennel-ls.fnl --lint $(SRC)
$(FENNEL) $(FENNELFLAGS) src/fennel-ls.fnl --lint $(shell find test -name "*.fnl")
count: count:
cloc $(shell find src -name "*.fnl" | grep -v "generated") cloc $(shell find src -name "*.fnl" | grep -v "generated")

View File

@ -240,7 +240,7 @@
;; nested pinning ;; nested pinning
(assert-ok "(let [x 99] (assert-ok "(let [x 99]
(match [{:x 32}] (match [{:x 32}]
[{: x}] (print x)))" [] [{}]) [{: x}] (print x)))")
;; values pattern ;; values pattern
(assert-ok "(let [x 99] (assert-ok "(let [x 99]
(match 49 (match 49

View File

@ -1,6 +1,5 @@
(local faith (require :faith)) (local faith (require :faith))
(local {: create-client} (require :test.utils)) (local {: create-client} (require :test.utils))
(local fennel (require :fennel))
(fn test-path [] (fn test-path []
(let [{: client : uri : cursor :locations [location]} (let [{: client : uri : cursor :locations [location]}