diff --git a/tests/examples/wibox/widget/defaults/slider.lua b/tests/examples/wibox/widget/defaults/slider.lua index 1450a871e5..b7b96387d5 100644 --- a/tests/examples/wibox/widget/defaults/slider.lua +++ b/tests/examples/wibox/widget/defaults/slider.lua @@ -27,7 +27,7 @@ widget:connect_signal("property::value", function(_, new_value) error(string.format("unexpected value %s", new_value)) end --DOC_HIDE_END - naughty.notify { title = "Slider changed", message = new_value } + naughty.notify { title = "Slider changed", message = tostring(new_value) } end) --DOC_HIDE_START