Fix Luacheck warnings

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2019-02-06 12:37:47 +01:00
parent 83ffc2b0ce
commit 75e67e1d33
2 changed files with 5 additions and 2 deletions

View File

@ -28,6 +28,7 @@ read_globals = {
"mousegrabber",
"root",
"selection",
"selection_watcher",
"tag",
"window",
"table.unpack",

View File

@ -51,8 +51,10 @@ end)
local function check_state(owned, unowned)
assert(not had_error, "there was an error")
assert(owned_clipboard_changes == owned, string.format("expected %d owned changes, but got %d", owned, owned_clipboard_changes))
assert(unowned_clipboard_changes == unowned, string.format("expected %d unowned changes, but got %d", unowned, unowned_clipboard_changes))
assert(owned_clipboard_changes == owned,
string.format("expected %d owned changes, but got %d", owned, owned_clipboard_changes))
assert(unowned_clipboard_changes == unowned,
string.format("expected %d unowned changes, but got %d", unowned, unowned_clipboard_changes))
end
local continue = false