test-current-desktop: make wait_for_current_desktop fail directly (#1516)

We should get the expected state before already.

Ref: https://github.com/awesomeWM/awesome/issues/1495#issuecomment-277098634
This commit is contained in:
Daniel Hahler 2017-02-06 19:55:08 +01:00 committed by GitHub
parent 206a5f664f
commit 52170f575f
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ local function wait_for_current_desktop(tag)
return true
end
print(string.format("Got _NET_CURRENT_DESKTOP = '%s', expected %d", value, idx))
return false
end
end