diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aa37578..5d2aa09 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,4 +41,4 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Run Busted - uses: lunarmodules/busted@v0 + uses: lunarmodules/busted@v2.1.0 diff --git a/spec/helpers_spec.lua b/spec/helpers_spec.lua index 21833b0..4d55c33 100644 --- a/spec/helpers_spec.lua +++ b/spec/helpers_spec.lua @@ -14,11 +14,11 @@ describe("Test helpers functions", function() } local timer ={ start= function () end, - connect_signal= function (t,f) end, - emit_signal= function (t) end, + connect_signal= function () end, + emit_signal= function () end, } local timerMock=mock(timer,true) - package.loaded["gears.timer"] =function() return timerMock end + package.loaded["gears.timer"] =function() return timerMock end it("file_exists", function()