Small changes
This commit is contained in:
parent
60c3073de3
commit
eab0769b06
@ -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
|
||||
|
||||
@ -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}}]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user