Fix shadowing value in slider unit test
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
parent
bed737a29f
commit
5fb6109439
|
@ -14,7 +14,7 @@ describe("wibox.widget.slider", function()
|
||||||
|
|
||||||
describe("constructor", function()
|
describe("constructor", function()
|
||||||
it("applies arguments", function()
|
it("applies arguments", function()
|
||||||
local widget = slider({ value = 10 })
|
widget = slider({ value = 10 })
|
||||||
|
|
||||||
assert.is.equal(widget.value, 10)
|
assert.is.equal(widget.value, 10)
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue