Small changes

This commit is contained in:
XeroOl 2023-05-03 00:13:17 -05:00
parent 60c3073de3
commit eab0769b06
2 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,11 @@
-- lust v0.1.0 - Lua test framework
-- https://github.com/bjornbytes/lust
-- MIT LICENSE
--
-- Modified by XeroOl to use fennel.view for more fennel flavored error messages
local lust = {}
local tostring = require("fennel.view")
local tostring = require("fennel").view
lust.level = 0
lust.passes = 0
lust.errors = 0

View File

@ -9,8 +9,6 @@
(let [client (doto (create-client {:fennel-ls {:fennel-path "./?/?.fnl"}})
(: :open-file! (.. ROOT-URI :/test.fnl) "(local {: this-is-in-modname} (require :modname))"))
result (client:definition (.. ROOT-URI :/test.fnl) 0 12)]
(eval-compiler
(print "EVAL" (in-scope? (sym :message))))
(is-matching
result
[{:result {:range message}}]