Fix x_window_map_state UAT helper to hide output

This commit is contained in:
Thibault Jouan 2015-04-29 02:43:57 +00:00
parent eed9cdf0c0
commit 10ad5d9a76

View File

@ -109,7 +109,7 @@ expected `#{message}' (#{times}) not seen after #{e.timeout} seconds in:
else fail ArgumentError,
"not an Integer nor a String: `#{window_selector.inspect}'"
end
`xwininfo #{select_args}`[/Map State: (\w+)/, 1]
`xwininfo #{select_args} 2> /dev/null`[/Map State: (\w+)/, 1]
end