Skip to content

Commit

Permalink
get_lua_files -> get_fennel_files
Browse files Browse the repository at this point in the history
  • Loading branch information
esbudylin committed Oct 10, 2024
1 parent 2675672 commit 52a372c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_tests.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ table.insert(package.loaders or package.searchers, fennel.searcher)

debug.traceback = fennel.traceback

local function get_lua_files(dir)
local function get_fennel_files(dir)
local files = {}
for file in lfs.dir(dir) do
if file:match "%.fnl$" then
Expand All @@ -17,7 +17,7 @@ local function get_lua_files(dir)
end

local testdir = "tests"
local testfiles = get_lua_files(testdir)
local testfiles = get_fennel_files(testdir)

for _, testfile in ipairs(testfiles) do
fennel.dofile(testfile)
Expand Down

0 comments on commit 52a372c

Please sign in to comment.