make selflint now covers tests
This commit is contained in:
parent
d4c24b00f4
commit
722a3a6089
1
Makefile
1
Makefile
@ -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")
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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]}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user