File tree Expand file tree Collapse file tree 2 files changed +15
-18
lines changed
Expand file tree Collapse file tree 2 files changed +15
-18
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: test
22on :
33 pull_request :
44 push :
5+ branches :
6+ - main
57jobs :
68 test :
79 runs-on : ubuntu-latest
1012 - name : setup lua
1113 run : |
1214 python3 -m pip install hererocks
13- hererocks -l 5.1 -r 3.5.0 .lua
15+ hererocks -l 5.1 -r 3.5.0 --no-readline .lua
1416 eval $(.lua/bin/luarocks path)
1517 .lua/bin/luarocks install luacheck
1618 .lua/bin/luarocks install busted
Original file line number Diff line number Diff line change 11describe (' export' , function ()
22 it (' works' , function ()
33 local globalenv = {
4- C_Console = {
5- GetAllCommands = function ()
6- return {
7- { command = ' foo' },
8- { command = ' bar' },
9- { command = ' baz' },
10- }
11- end ,
12- },
4+ ConsoleGetAllCommands = function ()
5+ return {
6+ { command = ' foo' },
7+ { command = ' bar' },
8+ { command = ' baz' },
9+ }
10+ end ,
1311 C_CVar = {
1412 GetCVarDefault = function (arg )
1513 return ' default_' .. arg
1614 end ,
1715 },
18- CreateFrame = function ()
19- return {
20- RegisterEvent = function () end ,
21- SetScript = function (_ , _ , script )
22- script ()
23- end ,
24- }
25- end ,
16+ C_Timer = {
17+ After = function (_ , f )
18+ f ()
19+ end ,
20+ },
2621 GetBuildInfo = function ()
2722 return 1 , 2 , 3 , 4
2823 end ,
You can’t perform that action at this time.
0 commit comments