diff --git a/test/lust.lua b/test/lust.lua index 566bcc1..b522f6a 100644 --- a/test/lust.lua +++ b/test/lust.lua @@ -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 diff --git a/test/settings-test.fnl b/test/settings-test.fnl index 62da75c..01a458d 100644 --- a/test/settings-test.fnl +++ b/test/settings-test.fnl @@ -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}}]