suppress warnings during tests

This commit is contained in:
XeroOl 2025-07-30 14:25:55 -05:00
parent ce2b390f8d
commit 735d8d5663
2 changed files with 8 additions and 2 deletions

View File

@ -102,7 +102,8 @@ is set to true and we report that we support completionItem/resolve."
(add-completion! global* def)
(add-completion-recursively! global* def))
_ (do
(io.stderr:write "BAD!!!! undocumented global: " (tostring global*) "\n")
(when (not file.macro-file?)
(io.stderr:write "BAD!!!! undocumented global: " (tostring global*) "\n"))
(add-completion! global* {})))))
(each [k v (pairs docs.literals)]

View File

@ -263,7 +263,12 @@
(fn test-compiler-env []
(check ";; fennel-ls: macro-file\n("
[:sym :sym? :list :quote :icollect :math]
[:os]))
[:os])
;; TODO #73
; (check "(macro foo [] (|"
; [:sym :sym? :list :quote :icollect :math]
; [:os])
nil)
;; ;; Future tests / features
;; ;; Scope Ordering Rules