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:
parent
206a5f664f
commit
52170f575f
|
@ -23,6 +23,7 @@ local function wait_for_current_desktop(tag)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
print(string.format("Got _NET_CURRENT_DESKTOP = '%s', expected %d", value, idx))
|
print(string.format("Got _NET_CURRENT_DESKTOP = '%s', expected %d", value, idx))
|
||||||
|
return false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue