diff --git a/Makefile b/Makefile index 2183960..ee12eb2 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,7 @@ deps: selflint: $(FENNEL) $(FENNELFLAGS) src/fennel-ls.fnl --lint $(SRC) + $(FENNEL) $(FENNELFLAGS) src/fennel-ls.fnl --lint $(shell find test -name "*.fnl") count: cloc $(shell find src -name "*.fnl" | grep -v "generated") diff --git a/test/lint.fnl b/test/lint.fnl index a389b07..ad98d9a 100644 --- a/test/lint.fnl +++ b/test/lint.fnl @@ -240,7 +240,7 @@ ;; nested pinning (assert-ok "(let [x 99] (match [{:x 32}] - [{: x}] (print x)))" [] [{}]) + [{: x}] (print x)))") ;; values pattern (assert-ok "(let [x 99] (match 49 diff --git a/test/settings.fnl b/test/settings.fnl index d40bfd7..1225161 100644 --- a/test/settings.fnl +++ b/test/settings.fnl @@ -1,6 +1,5 @@ (local faith (require :faith)) (local {: create-client} (require :test.utils)) -(local fennel (require :fennel)) (fn test-path [] (let [{: client : uri : cursor :locations [location]}