We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 748917a commit f94b54aCopy full SHA for f94b54a
spec/parsers/source_spec.lua spec/compilers/source_spec.luaspec/parsers/source_spec.lua renamed to spec/compilers/source_spec.lua
@@ -21,6 +21,10 @@ print("test")
21
assert(compiler.load_file("spec/in/basic.fuse"), "unable to load file")()
22
_G['print'] = old_print
23
end)
24
+ it("can inject FusionScript extensions to the global environment", function()
25
+ -- empty test just to run without errors
26
+ compiler.inject_extensions()
27
+ end)
28
it("can load a searcher into the module loading system", function()
29
assert.same(true, compiler.inject_loader())
30
local len = #(package.loaders or package.searchers) -- luacheck: ignore 143
spec/in/literals.fuse
@@ -1,4 +1,4 @@
1
-using {itr, range};
+using {itr};
2
3
-- numbers --
4
0 commit comments