Fix Luacheck warnings
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
83ffc2b0ce
commit
75e67e1d33
|
@ -28,6 +28,7 @@ read_globals = {
|
|||
"mousegrabber",
|
||||
"root",
|
||||
"selection",
|
||||
"selection_watcher",
|
||||
"tag",
|
||||
"window",
|
||||
"table.unpack",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue