From 0e7ac2f448227d846ef12b36c2566d3091804979 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Tue, 5 Sep 2023 23:39:53 +0300 Subject: [PATCH] updated workflow Signed-off-by: Trial97 --- .github/workflows/main.yml | 2 +- spec/helpers_spec.lua | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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()