suppress warnings during tests
This commit is contained in:
parent
ce2b390f8d
commit
735d8d5663
@ -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)]
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user