Small changes
This commit is contained in:
parent
60c3073de3
commit
eab0769b06
@ -1,9 +1,11 @@
|
|||||||
-- lust v0.1.0 - Lua test framework
|
-- lust v0.1.0 - Lua test framework
|
||||||
-- https://github.com/bjornbytes/lust
|
-- https://github.com/bjornbytes/lust
|
||||||
-- MIT LICENSE
|
-- MIT LICENSE
|
||||||
|
--
|
||||||
|
-- Modified by XeroOl to use fennel.view for more fennel flavored error messages
|
||||||
|
|
||||||
local lust = {}
|
local lust = {}
|
||||||
local tostring = require("fennel.view")
|
local tostring = require("fennel").view
|
||||||
lust.level = 0
|
lust.level = 0
|
||||||
lust.passes = 0
|
lust.passes = 0
|
||||||
lust.errors = 0
|
lust.errors = 0
|
||||||
|
|||||||
@ -9,8 +9,6 @@
|
|||||||
(let [client (doto (create-client {:fennel-ls {:fennel-path "./?/?.fnl"}})
|
(let [client (doto (create-client {:fennel-ls {:fennel-path "./?/?.fnl"}})
|
||||||
(: :open-file! (.. ROOT-URI :/test.fnl) "(local {: this-is-in-modname} (require :modname))"))
|
(: :open-file! (.. ROOT-URI :/test.fnl) "(local {: this-is-in-modname} (require :modname))"))
|
||||||
result (client:definition (.. ROOT-URI :/test.fnl) 0 12)]
|
result (client:definition (.. ROOT-URI :/test.fnl) 0 12)]
|
||||||
(eval-compiler
|
|
||||||
(print "EVAL" (in-scope? (sym :message))))
|
|
||||||
(is-matching
|
(is-matching
|
||||||
result
|
result
|
||||||
[{:result {:range message}}]
|
[{:result {:range message}}]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user