Fix shadowing value in slider unit test

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
Lucas Schwiderski 2021-03-10 19:46:40 +01:00
parent bed737a29f
commit 5fb6109439
No known key found for this signature in database
GPG Key ID: AA12679AAA6DF4D8
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ describe("wibox.widget.slider", function()
describe("constructor", function()
it("applies arguments", function()
local widget = slider({ value = 10 })
widget = slider({ value = 10 })
assert.is.equal(widget.value, 10)
end)