Skip to content

Commit ab2dbc7

Browse files
committed
OK apparently this actually gets nlua to be properly used...
1 parent e7268e3 commit ab2dbc7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.busted

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
return {
22
_all = {
33
coverage = false,
4-
lpath = "lua/?.lua;lua/?/init.lua",
4+
lpath = 'lua/?.lua;lua/?/init.lua',
5+
lua = 'nlua',
56
},
67
default = {
78
verbose = true

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ spec := justfile_directory() + "/spec"
33

44
# Run the runt.nvim test suite.
55
test *test_files=spec:
6-
luarocks test --local -- {{ test_files }}
6+
eval $(luarocks path --no-bin --lua-version 5.1); luarocks --lua-version 5.1 test --local -- {{ test_files }}
77

88
# Coarsely profile how long the whole test suite takes to run.
99
profile-test *ARGS:

0 commit comments

Comments
 (0)